Lines 1-9
Link Here
|
1 |
* Prepend the path of the SSL libraries used for building so the same libraries are |
|
|
2 |
* found and loaded at runtime. Normal search finds base SSL libraries before ports. |
3 |
* |
4 |
--- src/network/ssl/qsslsocket_openssl_symbols.cpp.orig 2015-05-07 14:14:44 UTC |
1 |
--- src/network/ssl/qsslsocket_openssl_symbols.cpp.orig 2015-05-07 14:14:44 UTC |
5 |
+++ src/network/ssl/qsslsocket_openssl_symbols.cpp |
2 |
+++ src/network/ssl/qsslsocket_openssl_symbols.cpp |
6 |
@@ -511,9 +511,9 @@ static QPair<QLibrary*, QLibrary*> loadO |
3 |
@@ -117,9 +117,11 @@ DEFINEFUNC3(int, BIO_read, BIO *a, a, void *b, b, int |
|
|
4 |
DEFINEFUNC(BIO_METHOD *, BIO_s_mem, void, DUMMYARG, return 0, return) |
5 |
DEFINEFUNC3(int, BIO_write, BIO *a, a, const void *b, b, int c, c, return -1, return) |
6 |
DEFINEFUNC(int, BN_num_bits, const BIGNUM *a, a, return 0, return) |
7 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
8 |
DEFINEFUNC(int, CRYPTO_num_locks, DUMMYARG, DUMMYARG, return 0, return) |
9 |
DEFINEFUNC(void, CRYPTO_set_locking_callback, void (*a)(int, int, const char *, int), a, return, DUMMYARG) |
10 |
DEFINEFUNC(void, CRYPTO_set_id_callback, unsigned long (*a)(), a, return, DUMMYARG) |
11 |
+#endif |
12 |
DEFINEFUNC(void, CRYPTO_free, void *a, a, return, DUMMYARG) |
13 |
DEFINEFUNC(void, DSA_free, DSA *a, a, return, DUMMYARG) |
14 |
#if OPENSSL_VERSION_NUMBER < 0x00908000L |
15 |
@@ -157,6 +159,7 @@ DEFINEFUNC2(int, PEM_write_bio_RSA_PUBKEY, BIO *a, a, |
16 |
DEFINEFUNC2(void, RAND_seed, const void *a, a, int b, b, return, DUMMYARG) |
17 |
DEFINEFUNC(int, RAND_status, void, DUMMYARG, return -1, return) |
18 |
DEFINEFUNC(void, RSA_free, RSA *a, a, return, DUMMYARG) |
19 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
20 |
DEFINEFUNC(int, sk_num, STACK *a, a, return -1, return) |
21 |
DEFINEFUNC2(void, sk_pop_free, STACK *a, a, void (*b)(void*), b, return, DUMMYARG) |
22 |
#if OPENSSL_VERSION_NUMBER >= 0x10000000L |
23 |
@@ -166,6 +169,12 @@ DEFINEFUNC2(void *, sk_value, STACK *a, a, int b, b, r |
24 |
DEFINEFUNC(void, sk_free, STACK *a, a, return, DUMMYARG) |
25 |
DEFINEFUNC2(char *, sk_value, STACK *a, a, int b, b, return 0, return) |
26 |
#endif |
27 |
+#else |
28 |
+DEFINEFUNC(int, OPENSSL_sk_num, STACK *a, a, return -1, return) |
29 |
+DEFINEFUNC2(void, OPENSSL_sk_pop_free, STACK *a, a, void (*b)(void*), b, return, DUMMYARG) |
30 |
+DEFINEFUNC(void, OPENSSL_sk_free, _STACK *a, a, return, DUMMYARG) |
31 |
+DEFINEFUNC2(void *, OPENSSL_sk_value, STACK *a, a, int b, b, return 0, return) |
32 |
+#endif |
33 |
DEFINEFUNC(int, SSL_accept, SSL *a, a, return -1, return) |
34 |
DEFINEFUNC(int, SSL_clear, SSL *a, a, return -1, return) |
35 |
DEFINEFUNC3(char *, SSL_CIPHER_description, SSL_CIPHER *a, a, char *b, b, int c, c, return 0, return) |
36 |
@@ -213,8 +222,12 @@ DEFINEFUNC(long, SSL_get_verify_result, const SSL *a, |
37 |
#else |
38 |
DEFINEFUNC(long, SSL_get_verify_result, SSL *a, a, return -1, return) |
39 |
#endif |
40 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
41 |
DEFINEFUNC(int, SSL_library_init, void, DUMMYARG, return -1, return) |
42 |
DEFINEFUNC(void, SSL_load_error_strings, void, DUMMYARG, return, DUMMYARG) |
43 |
+#else |
44 |
+DEFINEFUNC2(int, OPENSSL_init_ssl, uint64_t opts, opts, void *settings, settings, return -1, return) |
45 |
+#endif |
46 |
DEFINEFUNC(SSL *, SSL_new, SSL_CTX *a, a, return 0, return) |
47 |
#if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) |
48 |
DEFINEFUNC4(long, SSL_ctrl, SSL *a, a, int cmd, cmd, long larg, larg, void *parg, parg, return -1, return) |
49 |
@@ -229,13 +242,21 @@ DEFINEFUNC(int, SSL_shutdown, SSL *a, a, return -1, re |
50 |
DEFINEFUNC(const SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return) |
51 |
#endif |
52 |
DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return) |
53 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
54 |
DEFINEFUNC(const SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return) |
55 |
+#else |
56 |
+DEFINEFUNC(const SSL_METHOD *, TLS_client_method, DUMMYARG, DUMMYARG, return 0, return) |
57 |
+#endif |
58 |
DEFINEFUNC(const SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return) |
59 |
#ifndef OPENSSL_NO_SSL2 |
60 |
DEFINEFUNC(const SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return) |
61 |
#endif |
62 |
DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return) |
63 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
64 |
DEFINEFUNC(const SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return) |
65 |
+#else |
66 |
+DEFINEFUNC(const SSL_METHOD *, TLS_server_method, DUMMYARG, DUMMYARG, return 0, return) |
67 |
+#endif |
68 |
DEFINEFUNC(const SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return) |
69 |
#else |
70 |
DEFINEFUNC(SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return) |
71 |
@@ -274,7 +295,11 @@ DEFINEFUNC2(int, X509_STORE_CTX_set_purpose, X509_STOR |
72 |
DEFINEFUNC(int, X509_STORE_CTX_get_error, X509_STORE_CTX *a, a, return -1, return) |
73 |
DEFINEFUNC(int, X509_STORE_CTX_get_error_depth, X509_STORE_CTX *a, a, return -1, return) |
74 |
DEFINEFUNC(X509 *, X509_STORE_CTX_get_current_cert, X509_STORE_CTX *a, a, return 0, return) |
75 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
76 |
DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get_chain, X509_STORE_CTX *a, a, return 0, return) |
77 |
+#else |
78 |
+DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get0_chain, X509_STORE_CTX *a, a, return 0, return) |
79 |
+#endif |
80 |
DEFINEFUNC(X509_STORE_CTX *, X509_STORE_CTX_new, DUMMYARG, DUMMYARG, return 0, return) |
81 |
#ifdef SSLEAY_MACROS |
82 |
DEFINEFUNC2(int, i2d_DSAPrivateKey, const DSA *a, a, unsigned char **b, b, return -1, return) |
83 |
@@ -282,11 +307,35 @@ DEFINEFUNC2(int, i2d_RSAPrivateKey, const RSA *a, a, u |
84 |
DEFINEFUNC3(RSA *, d2i_RSAPrivateKey, RSA **a, a, unsigned char **b, b, long c, c, return 0, return) |
85 |
DEFINEFUNC3(DSA *, d2i_DSAPrivateKey, DSA **a, a, unsigned char **b, b, long c, c, return 0, return) |
86 |
#endif |
87 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
88 |
DEFINEFUNC(void, OPENSSL_add_all_algorithms_noconf, void, DUMMYARG, return, DUMMYARG) |
89 |
DEFINEFUNC(void, OPENSSL_add_all_algorithms_conf, void, DUMMYARG, return, DUMMYARG) |
90 |
+#else |
91 |
+DEFINEFUNC2(int, OPENSSL_init_crypto, uint64_t opts, opts, void *settings, settings, return -1, return) |
92 |
+#endif |
93 |
DEFINEFUNC3(int, SSL_CTX_load_verify_locations, SSL_CTX *ctx, ctx, const char *CAfile, CAfile, const char *CApath, CApath, return 0, return) |
94 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
95 |
DEFINEFUNC(long, SSLeay, void, DUMMYARG, return 0, return) |
96 |
+#else |
97 |
+DEFINEFUNC(unsigned long, OpenSSL_version_num, void, DUMMYARG, return 0, return) |
98 |
+#endif |
99 |
+DEFINEFUNC(X509_STORE *, SSL_CTX_get_cert_store, const SSL_CTX *ctx, ctx, return 0, return) |
100 |
|
101 |
+DEFINEFUNC(ASN1_INTEGER *, X509_get_serialNumber, X509 *x, x, return 0, return) |
102 |
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L |
103 |
+DEFINEFUNC(int, EVP_PKEY_id, const EVP_PKEY *pkey, pkey, return 0, return) |
104 |
+DEFINEFUNC(int, EVP_PKEY_base_id, const EVP_PKEY *pkey, pkey, return 0, return) |
105 |
+DEFINEFUNC2(int, SSL_CIPHER_get_bits, const SSL_CIPHER *cipher, cipher, int *alg_bits, alg_bits, return 0, return) |
106 |
+DEFINEFUNC2(long, SSL_CTX_set_options, SSL_CTX *ctx, ctx, long options, options, return 0, return) |
107 |
+DEFINEFUNC(long, X509_get_version, X509 *x, x, return 0, return) |
108 |
+DEFINEFUNC(X509_PUBKEY *, X509_get_X509_PUBKEY, X509 *x, x, return 0, return) |
109 |
+DEFINEFUNC(int, RSA_bits, const RSA *rsa, rsa, return 0, return) |
110 |
+DEFINEFUNC(int, DSA_security_bits, const DSA *dsa, dsa, return 0, return) |
111 |
+DEFINEFUNC(ASN1_TIME *, X509_getm_notAfter, X509 *x, x, return 0, return) |
112 |
+DEFINEFUNC(ASN1_TIME *, X509_getm_notBefore, X509 *x, x, return 0, return) |
113 |
+DEFINEFUNC4(void, DSA_get0_pqg, const DSA *d, d, BIGNUM **p, p, BIGNUM **q, q, BIGNUM **g, g, return, return) |
114 |
+#endif |
115 |
+ |
116 |
#ifdef Q_OS_SYMBIAN |
117 |
#define RESOLVEFUNC(func, ordinal, lib) \ |
118 |
if (!(_q_##func = _q_PTR_##func(lib->resolve(#ordinal)))) \ |
119 |
@@ -511,9 +560,9 @@ static QPair<QLibrary*, QLibrary*> loadOpenSsl() |
7 |
libcrypto->setLoadHints(libcrypto->loadHints() | QLibrary::ImprovedSearchHeuristics); |
120 |
libcrypto->setLoadHints(libcrypto->loadHints() | QLibrary::ImprovedSearchHeuristics); |
8 |
#elif defined(SHLIB_VERSION_NUMBER) |
121 |
#elif defined(SHLIB_VERSION_NUMBER) |
9 |
// first attempt: the canonical name is libssl.so.<SHLIB_VERSION_NUMBER> |
122 |
// first attempt: the canonical name is libssl.so.<SHLIB_VERSION_NUMBER> |
Lines 15-21
Link Here
|
15 |
libcrypto->setLoadHints(libcrypto->loadHints() | QLibrary::ImprovedSearchHeuristics); |
128 |
libcrypto->setLoadHints(libcrypto->loadHints() | QLibrary::ImprovedSearchHeuristics); |
16 |
if (libcrypto->load() && libssl->load()) { |
129 |
if (libcrypto->load() && libssl->load()) { |
17 |
// libssl.so.<SHLIB_VERSION_NUMBER> and libcrypto.so.<SHLIB_VERSION_NUMBER> found |
130 |
// libssl.so.<SHLIB_VERSION_NUMBER> and libcrypto.so.<SHLIB_VERSION_NUMBER> found |
18 |
@@ -525,8 +525,8 @@ static QPair<QLibrary*, QLibrary*> loadO |
131 |
@@ -525,8 +574,8 @@ static QPair<QLibrary*, QLibrary*> loadOpenSsl() |
19 |
#endif |
132 |
#endif |
20 |
|
133 |
|
21 |
// second attempt: find the development files libssl.so and libcrypto.so |
134 |
// second attempt: find the development files libssl.so and libcrypto.so |
Lines 26-28
Link Here
|
26 |
if (libcrypto->load() && libssl->load()) { |
139 |
if (libcrypto->load() && libssl->load()) { |
27 |
// libssl.so.0 and libcrypto.so.0 found |
140 |
// libssl.so.0 and libcrypto.so.0 found |
28 |
return pair; |
141 |
return pair; |
|
|
142 |
@@ -580,8 +629,12 @@ bool q_resolveOpenSslSymbols() |
143 |
static volatile bool symbolsResolved = false; |
144 |
static volatile bool triedToResolveSymbols = false; |
145 |
#ifndef QT_NO_THREAD |
146 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
147 |
QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_SSL_library_init)); |
148 |
+#else |
149 |
+ QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_OPENSSL_init_ssl)); |
150 |
#endif |
151 |
+#endif |
152 |
if (symbolsResolved) |
153 |
return true; |
154 |
if (triedToResolveSymbols) |
155 |
@@ -614,9 +667,11 @@ bool q_resolveOpenSslSymbols() |
156 |
RESOLVEFUNC(BIO_write, 269, libs.second ) |
157 |
RESOLVEFUNC(BN_num_bits, 387, libs.second ) |
158 |
RESOLVEFUNC(CRYPTO_free, 469, libs.second ) |
159 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
160 |
RESOLVEFUNC(CRYPTO_num_locks, 500, libs.second ) |
161 |
RESOLVEFUNC(CRYPTO_set_id_callback, 513, libs.second ) |
162 |
RESOLVEFUNC(CRYPTO_set_locking_callback, 516, libs.second ) |
163 |
+#endif |
164 |
RESOLVEFUNC(DSA_free, 594, libs.second ) |
165 |
RESOLVEFUNC(ERR_error_string, 744, libs.second ) |
166 |
RESOLVEFUNC(ERR_get_error, 749, libs.second ) |
167 |
@@ -674,8 +729,10 @@ bool q_resolveOpenSslSymbols() |
168 |
RESOLVEFUNC(SSL_get_peer_cert_chain, 117, libs.first ) |
169 |
RESOLVEFUNC(SSL_get_peer_certificate, 118, libs.first ) |
170 |
RESOLVEFUNC(SSL_get_verify_result, 132, libs.first ) |
171 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
172 |
RESOLVEFUNC(SSL_library_init, 137, libs.first ) |
173 |
RESOLVEFUNC(SSL_load_error_strings, 139, libs.first ) |
174 |
+#endif |
175 |
RESOLVEFUNC(SSL_new, 140, libs.first ) |
176 |
#if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) |
177 |
RESOLVEFUNC(SSL_ctrl, 95, libs.first ) |
178 |
@@ -747,9 +804,11 @@ bool q_resolveOpenSslSymbols() |
179 |
RESOLVEFUNC(BIO_write) |
180 |
RESOLVEFUNC(BN_num_bits) |
181 |
RESOLVEFUNC(CRYPTO_free) |
182 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
183 |
RESOLVEFUNC(CRYPTO_num_locks) |
184 |
RESOLVEFUNC(CRYPTO_set_id_callback) |
185 |
RESOLVEFUNC(CRYPTO_set_locking_callback) |
186 |
+#endif |
187 |
RESOLVEFUNC(DSA_free) |
188 |
RESOLVEFUNC(ERR_error_string) |
189 |
RESOLVEFUNC(ERR_get_error) |
190 |
@@ -779,10 +838,17 @@ bool q_resolveOpenSslSymbols() |
191 |
RESOLVEFUNC(RAND_seed) |
192 |
RESOLVEFUNC(RAND_status) |
193 |
RESOLVEFUNC(RSA_free) |
194 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
195 |
RESOLVEFUNC(sk_free) |
196 |
RESOLVEFUNC(sk_num) |
197 |
RESOLVEFUNC(sk_pop_free) |
198 |
RESOLVEFUNC(sk_value) |
199 |
+#else |
200 |
+ RESOLVEFUNC(OPENSSL_sk_free) |
201 |
+ RESOLVEFUNC(OPENSSL_sk_num) |
202 |
+ RESOLVEFUNC(OPENSSL_sk_pop_free) |
203 |
+ RESOLVEFUNC(OPENSSL_sk_value) |
204 |
+#endif |
205 |
RESOLVEFUNC(SSL_CIPHER_description) |
206 |
RESOLVEFUNC(SSL_CTX_check_private_key) |
207 |
RESOLVEFUNC(SSL_CTX_ctrl) |
208 |
@@ -797,6 +863,7 @@ bool q_resolveOpenSslSymbols() |
209 |
RESOLVEFUNC(SSL_CTX_use_PrivateKey) |
210 |
RESOLVEFUNC(SSL_CTX_use_RSAPrivateKey) |
211 |
RESOLVEFUNC(SSL_CTX_use_PrivateKey_file) |
212 |
+ RESOLVEFUNC(SSL_CTX_get_cert_store) |
213 |
RESOLVEFUNC(SSL_accept) |
214 |
RESOLVEFUNC(SSL_clear) |
215 |
RESOLVEFUNC(SSL_connect) |
216 |
@@ -807,8 +874,12 @@ bool q_resolveOpenSslSymbols() |
217 |
RESOLVEFUNC(SSL_get_peer_cert_chain) |
218 |
RESOLVEFUNC(SSL_get_peer_certificate) |
219 |
RESOLVEFUNC(SSL_get_verify_result) |
220 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
221 |
RESOLVEFUNC(SSL_library_init) |
222 |
RESOLVEFUNC(SSL_load_error_strings) |
223 |
+#else |
224 |
+ RESOLVEFUNC(OPENSSL_init_ssl) |
225 |
+#endif |
226 |
RESOLVEFUNC(SSL_new) |
227 |
#if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) |
228 |
RESOLVEFUNC(SSL_ctrl) |
229 |
@@ -819,17 +890,42 @@ bool q_resolveOpenSslSymbols() |
230 |
RESOLVEFUNC(SSL_set_connect_state) |
231 |
RESOLVEFUNC(SSL_shutdown) |
232 |
RESOLVEFUNC(SSL_write) |
233 |
+ |
234 |
+ RESOLVEFUNC(X509_get_serialNumber) |
235 |
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L |
236 |
+ RESOLVEFUNC(SSL_CTX_ctrl) |
237 |
+ RESOLVEFUNC(EVP_PKEY_id) |
238 |
+ RESOLVEFUNC(EVP_PKEY_base_id) |
239 |
+ RESOLVEFUNC(SSL_CIPHER_get_bits) |
240 |
+ RESOLVEFUNC(SSL_CTX_set_options) |
241 |
+ RESOLVEFUNC(X509_get_version) |
242 |
+ RESOLVEFUNC(X509_get_X509_PUBKEY) |
243 |
+ RESOLVEFUNC(RSA_bits) |
244 |
+ RESOLVEFUNC(DSA_security_bits) |
245 |
+ RESOLVEFUNC(X509_getm_notAfter) |
246 |
+ RESOLVEFUNC(X509_getm_notBefore) |
247 |
+ RESOLVEFUNC(DSA_get0_pqg) |
248 |
+#endif |
249 |
+ |
250 |
#ifndef OPENSSL_NO_SSL2 |
251 |
RESOLVEFUNC(SSLv2_client_method) |
252 |
#endif |
253 |
RESOLVEFUNC(SSLv3_client_method) |
254 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
255 |
RESOLVEFUNC(SSLv23_client_method) |
256 |
+#else |
257 |
+ RESOLVEFUNC(TLS_client_method) |
258 |
+#endif |
259 |
RESOLVEFUNC(TLSv1_client_method) |
260 |
#ifndef OPENSSL_NO_SSL2 |
261 |
RESOLVEFUNC(SSLv2_server_method) |
262 |
#endif |
263 |
RESOLVEFUNC(SSLv3_server_method) |
264 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
265 |
RESOLVEFUNC(SSLv23_server_method) |
266 |
+#else |
267 |
+ RESOLVEFUNC(TLS_server_method) |
268 |
+#endif |
269 |
RESOLVEFUNC(TLSv1_server_method) |
270 |
RESOLVEFUNC(X509_NAME_entry_count) |
271 |
RESOLVEFUNC(X509_NAME_get_entry) |
272 |
@@ -846,7 +942,11 @@ bool q_resolveOpenSslSymbols() |
273 |
RESOLVEFUNC(X509_STORE_CTX_get_error) |
274 |
RESOLVEFUNC(X509_STORE_CTX_get_error_depth) |
275 |
RESOLVEFUNC(X509_STORE_CTX_get_current_cert) |
276 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
277 |
RESOLVEFUNC(X509_STORE_CTX_get_chain) |
278 |
+#else |
279 |
+ RESOLVEFUNC(X509_STORE_CTX_get0_chain) |
280 |
+#endif |
281 |
RESOLVEFUNC(X509_cmp) |
282 |
#ifndef SSLEAY_MACROS |
283 |
RESOLVEFUNC(X509_dup) |
284 |
@@ -867,10 +967,18 @@ bool q_resolveOpenSslSymbols() |
285 |
RESOLVEFUNC(d2i_DSAPrivateKey) |
286 |
RESOLVEFUNC(d2i_RSAPrivateKey) |
287 |
#endif |
288 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
289 |
RESOLVEFUNC(OPENSSL_add_all_algorithms_noconf) |
290 |
RESOLVEFUNC(OPENSSL_add_all_algorithms_conf) |
291 |
+#else |
292 |
+ RESOLVEFUNC(OPENSSL_init_crypto) |
293 |
+#endif |
294 |
RESOLVEFUNC(SSL_CTX_load_verify_locations) |
295 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
296 |
RESOLVEFUNC(SSLeay) |
297 |
+#else |
298 |
+ RESOLVEFUNC(OpenSSL_version_num) |
299 |
+#endif |
300 |
#endif // Q_OS_SYMBIAN |
301 |
symbolsResolved = true; |
302 |
delete libs.first; |