1 | /* $Id: VBoxRTDeps.cpp 69111 2017-10-17 14:26:02Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IPRT - VBoxRT.dll/so dependencies.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2017 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | *
|
---|
17 | * The contents of this file may alternatively be used under the terms
|
---|
18 | * of the Common Development and Distribution License Version 1.0
|
---|
19 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | * CDDL are applicable instead of those of the GPL.
|
---|
22 | *
|
---|
23 | * You may elect to license modified versions of this file under the
|
---|
24 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | */
|
---|
26 |
|
---|
27 |
|
---|
28 | /*********************************************************************************************************************************
|
---|
29 | * Header Files *
|
---|
30 | *********************************************************************************************************************************/
|
---|
31 | #ifndef RT_NO_GIP
|
---|
32 | # include <VBox/sup.h>
|
---|
33 | #endif
|
---|
34 | #include <iprt/asm.h>
|
---|
35 | #include <iprt/assert.h>
|
---|
36 | #include <iprt/localipc.h>
|
---|
37 | #include <iprt/buildconfig.h>
|
---|
38 | #include <iprt/system.h>
|
---|
39 |
|
---|
40 | #include <libxml/catalog.h>
|
---|
41 | #include <libxml/globals.h>
|
---|
42 | #include <openssl/md5.h>
|
---|
43 | #include <openssl/rc4.h>
|
---|
44 | #ifdef RT_OS_WINDOWS
|
---|
45 | # include <iprt/win/windows.h>
|
---|
46 | #endif
|
---|
47 | #include <openssl/pem.h> /* drags in Windows.h */
|
---|
48 | #include <openssl/x509.h>
|
---|
49 | #include <openssl/rsa.h>
|
---|
50 | #include <openssl/ssl.h>
|
---|
51 | #include <openssl/rand.h>
|
---|
52 |
|
---|
53 |
|
---|
54 | /*********************************************************************************************************************************
|
---|
55 | * Global Variables *
|
---|
56 | *********************************************************************************************************************************/
|
---|
57 | PFNRT g_VBoxRTDeps[] =
|
---|
58 | {
|
---|
59 | #ifndef RT_NO_GIP
|
---|
60 | (PFNRT)SUPR3Init,
|
---|
61 | (PFNRT)SUPR3PageAllocEx,
|
---|
62 | (PFNRT)SUPR3LoadVMM,
|
---|
63 | (PFNRT)SUPSemEventCreate,
|
---|
64 | (PFNRT)SUPTracerFireProbe,
|
---|
65 | (PFNRT)SUPGetTscDeltaSlow,
|
---|
66 | #endif
|
---|
67 | (PFNRT)xmlLoadCatalogs,
|
---|
68 | (PFNRT)RTLocalIpcServerCreate,
|
---|
69 | (PFNRT)MD5_Init,
|
---|
70 | (PFNRT)RC4,
|
---|
71 | (PFNRT)RC4_set_key,
|
---|
72 | (PFNRT)PEM_read_bio_X509,
|
---|
73 | (PFNRT)PEM_read_bio_PrivateKey,
|
---|
74 | (PFNRT)X509_free,
|
---|
75 | (PFNRT)X509_verify_cert_error_string,
|
---|
76 | (PFNRT)i2d_X509,
|
---|
77 | (PFNRT)i2d_X509,
|
---|
78 | (PFNRT)i2d_PublicKey,
|
---|
79 | #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) || defined(OPENSSL_MANGLER)
|
---|
80 | (PFNRT)RSA_generate_key, /* gsoap */
|
---|
81 | #endif
|
---|
82 | (PFNRT)RSA_generate_key_ex,
|
---|
83 | #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) || defined(OPENSSL_MANGLER)
|
---|
84 | (PFNRT)DH_generate_parameters, /* gsoap */
|
---|
85 | #endif
|
---|
86 | (PFNRT)DH_generate_parameters_ex,
|
---|
87 | (PFNRT)RAND_load_file,
|
---|
88 | #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
|
---|
89 | (PFNRT)CRYPTO_set_dynlock_create_callback,
|
---|
90 | (PFNRT)CRYPTO_set_dynlock_lock_callback,
|
---|
91 | (PFNRT)CRYPTO_set_dynlock_destroy_callback,
|
---|
92 | #endif
|
---|
93 | (PFNRT)RTAssertShouldPanic,
|
---|
94 | (PFNRT)ASMAtomicReadU64,
|
---|
95 | (PFNRT)ASMAtomicCmpXchgU64,
|
---|
96 | (PFNRT)ASMBitFirstSet,
|
---|
97 | (PFNRT)RTBldCfgRevision,
|
---|
98 | (PFNRT)SSL_free,
|
---|
99 | #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
|
---|
100 | (PFNRT)SSL_library_init,
|
---|
101 | (PFNRT)SSL_load_error_strings,
|
---|
102 | #endif
|
---|
103 | (PFNRT)SSL_CTX_free,
|
---|
104 | (PFNRT)SSL_CTX_use_certificate_file,
|
---|
105 | (PFNRT)SSLv23_method,
|
---|
106 | #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
|
---|
107 | (PFNRT)TLSv1_server_method,
|
---|
108 | #endif
|
---|
109 | NULL
|
---|
110 | };
|
---|
111 |
|
---|