Line | Source Code | Coverage |
---|
1 | /**************************************************************************** | - |
2 | ** | - |
3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). | - |
4 | ** Contact: http://www.qt-project.org/legal | - |
5 | ** | - |
6 | ** This file is part of the QtNetwork module of the Qt Toolkit. | - |
7 | ** | - |
8 | ** $QT_BEGIN_LICENSE:LGPL$ | - |
9 | ** Commercial License Usage | - |
10 | ** Licensees holding valid commercial Qt licenses may use this file in | - |
11 | ** accordance with the commercial license agreement provided with the | - |
12 | ** Software or, alternatively, in accordance with the terms contained in | - |
13 | ** a written agreement between you and Digia. For licensing terms and | - |
14 | ** conditions see http://qt.digia.com/licensing. For further information | - |
15 | ** use the contact form at http://qt.digia.com/contact-us. | - |
16 | ** | - |
17 | ** GNU Lesser General Public License Usage | - |
18 | ** Alternatively, this file may be used under the terms of the GNU Lesser | - |
19 | ** General Public License version 2.1 as published by the Free Software | - |
20 | ** Foundation and appearing in the file LICENSE.LGPL included in the | - |
21 | ** packaging of this file. Please review the following information to | - |
22 | ** ensure the GNU Lesser General Public License version 2.1 requirements | - |
23 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. | - |
24 | ** | - |
25 | ** In addition, as a special exception, Digia gives you certain additional | - |
26 | ** rights. These rights are described in the Digia Qt LGPL Exception | - |
27 | ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. | - |
28 | ** | - |
29 | ** GNU General Public License Usage | - |
30 | ** Alternatively, this file may be used under the terms of the GNU | - |
31 | ** General Public License version 3.0 as published by the Free Software | - |
32 | ** Foundation and appearing in the file LICENSE.GPL included in the | - |
33 | ** packaging of this file. Please review the following information to | - |
34 | ** ensure the GNU General Public License version 3.0 requirements will be | - |
35 | ** met: http://www.gnu.org/copyleft/gpl.html. | - |
36 | ** | - |
37 | ** | - |
38 | ** $QT_END_LICENSE$ | - |
39 | ** | - |
40 | ****************************************************************************/ | - |
41 | | - |
42 | /**************************************************************************** | - |
43 | ** | - |
44 | ** In addition, as a special exception, the copyright holders listed above give | - |
45 | ** permission to link the code of its release of Qt with the OpenSSL project's | - |
46 | ** "OpenSSL" library (or modified versions of the "OpenSSL" library that use the | - |
47 | ** same license as the original version), and distribute the linked executables. | - |
48 | ** | - |
49 | ** You must comply with the GNU General Public License version 2 in all | - |
50 | ** respects for all of the code used other than the "OpenSSL" code. If you | - |
51 | ** modify this file, you may extend this exception to your version of the file, | - |
52 | ** but you are not obligated to do so. If you do not wish to do so, delete | - |
53 | ** this exception statement from your version of this file. | - |
54 | ** | - |
55 | ****************************************************************************/ | - |
56 | | - |
57 | #include "qsslsocket_openssl_symbols_p.h" | - |
58 | | - |
59 | #ifdef Q_OS_WIN | - |
60 | # include <private/qsystemlibrary_p.h> | - |
61 | #else | - |
62 | # include <QtCore/qlibrary.h> | - |
63 | #endif | - |
64 | #include <QtCore/qmutex.h> | - |
65 | #include <private/qmutexpool_p.h> | - |
66 | #include <QtCore/qdatetime.h> | - |
67 | #if defined(Q_OS_UNIX) | - |
68 | #include <QtCore/qdir.h> | - |
69 | #endif | - |
70 | #ifdef Q_OS_LINUX | - |
71 | #include <link.h> | - |
72 | #endif | - |
73 | | - |
74 | #include <algorithm> | - |
75 | | - |
76 | QT_BEGIN_NAMESPACE | - |
77 | | - |
78 | /* | - |
79 | Note to maintainer: | - |
80 | ------------------- | - |
81 | | - |
82 | We load OpenSSL symbols dynamically. Because symbols are known to | - |
83 | disappear, and signatures sometimes change, between releases, we need to | - |
84 | be careful about how this is done. To ensure we don't end up dereferencing | - |
85 | null function pointers, and continue running even if certain functions are | - |
86 | missing, we define helper functions for each of the symbols we load from | - |
87 | OpenSSL, all prefixed with "q_" (declared in | - |
88 | qsslsocket_openssl_symbols_p.h). So instead of calling SSL_connect | - |
89 | directly, we call q_SSL_connect, which is a function that checks if the | - |
90 | actual SSL_connect fptr is null, and returns a failure if it is, or calls | - |
91 | SSL_connect if it isn't. | - |
92 | | - |
93 | This requires a somewhat tedious process of declaring each function we | - |
94 | want to call in OpenSSL thrice: once with the q_, in _p.h, once using the | - |
95 | DEFINEFUNC macros below, and once in the function that actually resolves | - |
96 | the symbols, below the DEFINEFUNC declarations below. | - |
97 | | - |
98 | There's one DEFINEFUNC macro declared for every number of arguments | - |
99 | exposed by OpenSSL (feel free to extend when needed). The easiest thing to | - |
100 | do is to find an existing entry that matches the arg count of the function | - |
101 | you want to import, and do the same. | - |
102 | | - |
103 | The first macro arg is the function return type. The second is the | - |
104 | verbatim name of the function/symbol. Then follows a list of N pairs of | - |
105 | argument types with a variable name, and just the variable name (char *a, | - |
106 | a, char *b, b, etc). Finally there's two arguments - a suitable return | - |
107 | statement for the error case (for an int function, return 0 or return -1 | - |
108 | is usually right). Then either just "return" or DUMMYARG, the latter being | - |
109 | for void functions. | - |
110 | | - |
111 | Note: Take into account that these macros and declarations are processed | - |
112 | at compile-time, and the result depends on the OpenSSL headers the | - |
113 | compiling host has installed, but the symbols are resolved at run-time, | - |
114 | possibly with a different version of OpenSSL. | - |
115 | */ | - |
116 | | - |
117 | #ifdef SSLEAY_MACROS | - |
118 | DEFINEFUNC3(void *, ASN1_dup, i2d_of_void *a, a, d2i_of_void *b, b, char *c, c, return 0, return) | - |
119 | #endif | - |
120 | DEFINEFUNC(long, ASN1_INTEGER_get, ASN1_INTEGER *a, a, return 0, return) never executed: return 0; executed: return _q_ASN1_INTEGER_get(a); Execution Count:9 partially evaluated: !_q_ASN1_INTEGER_get no Evaluation Count:0 | yes Evaluation Count:9 |
| 0-9 |
121 | DEFINEFUNC(unsigned char *, ASN1_STRING_data, ASN1_STRING *a, a, return 0, return) never executed: return 0; executed: return _q_ASN1_STRING_data(a); Execution Count:34 partially evaluated: !_q_ASN1_STRING_data no Evaluation Count:0 | yes Evaluation Count:34 |
| 0-34 |
122 | DEFINEFUNC(int, ASN1_STRING_length, ASN1_STRING *a, a, return 0, return) never executed: return 0; executed: return _q_ASN1_STRING_length(a); Execution Count:34 partially evaluated: !_q_ASN1_STRING_length no Evaluation Count:0 | yes Evaluation Count:34 |
| 0-34 |
123 | DEFINEFUNC2(int, ASN1_STRING_to_UTF8, unsigned char **a, a, ASN1_STRING *b, b, return 0, return); never executed: return 0; executed: return _q_ASN1_STRING_to_UTF8(a, b); Execution Count:677 partially evaluated: !_q_ASN1_STRING_to_UTF8 no Evaluation Count:0 | yes Evaluation Count:677 |
| 0-677 |
124 | DEFINEFUNC4(long, BIO_ctrl, BIO *a, a, int b, b, long c, c, void *d, d, return -1, return) never executed: return -1; executed: return _q_BIO_ctrl(a, b, c, d); Execution Count:13046 partially evaluated: !_q_BIO_ctrl no Evaluation Count:0 | yes Evaluation Count:13046 |
| 0-13046 |
125 | DEFINEFUNC(int, BIO_free, BIO *a, a, return 0, return) never executed: return 0; executed: return _q_BIO_free(a); Execution Count:2096 partially evaluated: !_q_BIO_free no Evaluation Count:0 | yes Evaluation Count:2096 |
| 0-2096 |
126 | DEFINEFUNC(BIO *, BIO_new, BIO_METHOD *a, a, return 0, return) never executed: return 0; executed: return _q_BIO_new(a); Execution Count:1728 partially evaluated: !_q_BIO_new no Evaluation Count:0 | yes Evaluation Count:1728 |
| 0-1728 |
127 | DEFINEFUNC2(BIO *, BIO_new_mem_buf, void *a, a, int b, b, return 0, return) never executed: return 0; executed: return _q_BIO_new_mem_buf(a, b); Execution Count:542 partially evaluated: !_q_BIO_new_mem_buf no Evaluation Count:0 | yes Evaluation Count:542 |
| 0-542 |
128 | DEFINEFUNC3(int, BIO_read, BIO *a, a, void *b, b, int c, c, return -1, return) never executed: return -1; executed: return _q_BIO_read(a, b, c); Execution Count:3568 partially evaluated: !_q_BIO_read no Evaluation Count:0 | yes Evaluation Count:3568 |
| 0-3568 |
129 | DEFINEFUNC(BIO_METHOD *, BIO_s_mem, void, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_BIO_s_mem(); Execution Count:1728 partially evaluated: !_q_BIO_s_mem no Evaluation Count:0 | yes Evaluation Count:1728 |
| 0-1728 |
130 | DEFINEFUNC3(int, BIO_write, BIO *a, a, const void *b, b, int c, c, return -1, return) never executed: return -1; executed: return _q_BIO_write(a, b, c); Execution Count:543 partially evaluated: !_q_BIO_write no Evaluation Count:0 | yes Evaluation Count:543 |
| 0-543 |
131 | DEFINEFUNC(int, BN_num_bits, const BIGNUM *a, a, return 0, return) never executed: return 0; executed: return _q_BN_num_bits(a); Execution Count:582 partially evaluated: !_q_BN_num_bits no Evaluation Count:0 | yes Evaluation Count:582 |
| 0-582 |
132 | DEFINEFUNC(int, CRYPTO_num_locks, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_CRYPTO_num_locks(); Execution Count:410 partially evaluated: !_q_CRYPTO_num_locks no Evaluation Count:0 | yes Evaluation Count:410 |
| 0-410 |
133 | DEFINEFUNC(void, CRYPTO_set_locking_callback, void (*a)(int, int, const char *, int), a, return, DUMMYARG) never executed: return; executed: } Execution Count:20 partially evaluated: !_q_CRYPTO_set_locking_callback no Evaluation Count:0 | yes Evaluation Count:20 |
| 0-20 |
134 | DEFINEFUNC(void, CRYPTO_set_id_callback, unsigned long (*a)(), a, return, DUMMYARG) never executed: return; executed: } Execution Count:20 partially evaluated: !_q_CRYPTO_set_id_callback no Evaluation Count:0 | yes Evaluation Count:20 |
| 0-20 |
135 | DEFINEFUNC(void, CRYPTO_free, void *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:677 partially evaluated: !_q_CRYPTO_free no Evaluation Count:0 | yes Evaluation Count:677 |
| 0-677 |
136 | DEFINEFUNC(void, DSA_free, DSA *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:160 partially evaluated: !_q_DSA_free no Evaluation Count:0 | yes Evaluation Count:160 |
| 0-160 |
137 | #if OPENSSL_VERSION_NUMBER < 0x00908000L | - |
138 | DEFINEFUNC3(X509 *, d2i_X509, X509 **a, a, unsigned char **b, b, long c, c, return 0, return) | - |
139 | #else // 0.9.8 broke SC and BC by changing this signature. | - |
140 | DEFINEFUNC3(X509 *, d2i_X509, X509 **a, a, const unsigned char **b, b, long c, c, return 0, return) never executed: return 0; executed: return _q_d2i_X509(a, b, c); Execution Count:468 partially evaluated: !_q_d2i_X509 no Evaluation Count:0 | yes Evaluation Count:468 |
| 0-468 |
141 | #endif | - |
142 | DEFINEFUNC2(char *, ERR_error_string, unsigned long a, a, char *b, b, return 0, return) never executed: return 0; executed: return _q_ERR_error_string(a, b); Execution Count:1 partially evaluated: !_q_ERR_error_string no Evaluation Count:0 | yes Evaluation Count:1 |
| 0-1 |
143 | DEFINEFUNC(unsigned long, ERR_get_error, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_ERR_get_error(); Execution Count:2 partially evaluated: !_q_ERR_get_error no Evaluation Count:0 | yes Evaluation Count:2 |
| 0-2 |
144 | DEFINEFUNC(void, ERR_free_strings, void, DUMMYARG, return, DUMMYARG) never executed: return; executed: } Execution Count:10 partially evaluated: !_q_ERR_free_strings no Evaluation Count:0 | yes Evaluation Count:10 |
| 0-10 |
145 | DEFINEFUNC(const EVP_CIPHER *, EVP_des_ede3_cbc, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_EVP_des_ede3_cbc(); Execution Count:176 partially evaluated: !_q_EVP_des_ede3_cbc no Evaluation Count:0 | yes Evaluation Count:176 |
| 0-176 |
146 | DEFINEFUNC3(int, EVP_PKEY_assign, EVP_PKEY *a, a, int b, b, char *c, c, return -1, return) never executed: return -1; never executed: return _q_EVP_PKEY_assign(a, b, c); never evaluated: !_q_EVP_PKEY_assign | 0 |
147 | DEFINEFUNC2(int, EVP_PKEY_set1_RSA, EVP_PKEY *a, a, RSA *b, b, return -1, return) never executed: return -1; executed: return _q_EVP_PKEY_set1_RSA(a, b); Execution Count:3 partially evaluated: !_q_EVP_PKEY_set1_RSA no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
148 | DEFINEFUNC2(int, EVP_PKEY_set1_DSA, EVP_PKEY *a, a, DSA *b, b, return -1, return) never executed: return -1; never executed: return _q_EVP_PKEY_set1_DSA(a, b); never evaluated: !_q_EVP_PKEY_set1_DSA | 0 |
149 | DEFINEFUNC(void, EVP_PKEY_free, EVP_PKEY *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:9 partially evaluated: !_q_EVP_PKEY_free no Evaluation Count:0 | yes Evaluation Count:9 |
| 0-9 |
150 | DEFINEFUNC(DSA *, EVP_PKEY_get1_DSA, EVP_PKEY *a, a, return 0, return) never executed: return 0; never executed: return _q_EVP_PKEY_get1_DSA(a); never evaluated: !_q_EVP_PKEY_get1_DSA | 0 |
151 | DEFINEFUNC(RSA *, EVP_PKEY_get1_RSA, EVP_PKEY *a, a, return 0, return) never executed: return 0; executed: return _q_EVP_PKEY_get1_RSA(a); Execution Count:6 partially evaluated: !_q_EVP_PKEY_get1_RSA no Evaluation Count:0 | yes Evaluation Count:6 |
| 0-6 |
152 | DEFINEFUNC(EVP_PKEY *, EVP_PKEY_new, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_EVP_PKEY_new(); Execution Count:3 partially evaluated: !_q_EVP_PKEY_new no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
153 | DEFINEFUNC(int, EVP_PKEY_type, int a, a, return NID_undef, return) never executed: return 0; executed: return _q_EVP_PKEY_type(a); Execution Count:6 partially evaluated: !_q_EVP_PKEY_type no Evaluation Count:0 | yes Evaluation Count:6 |
| 0-6 |
154 | DEFINEFUNC2(int, i2d_X509, X509 *a, a, unsigned char **b, b, return -1, return) never executed: return -1; executed: return _q_i2d_X509(a, b); Execution Count:212 partially evaluated: !_q_i2d_X509 no Evaluation Count:0 | yes Evaluation Count:212 |
| 0-212 |
155 | DEFINEFUNC(const char *, OBJ_nid2sn, int a, a, return 0, return) never executed: return 0; executed: return _q_OBJ_nid2sn(a); Execution Count:686 partially evaluated: !_q_OBJ_nid2sn no Evaluation Count:0 | yes Evaluation Count:686 |
| 0-686 |
156 | DEFINEFUNC(const char *, OBJ_nid2ln, int a, a, return 0, return) never executed: return 0; never executed: return _q_OBJ_nid2ln(a); never evaluated: !_q_OBJ_nid2ln | 0 |
157 | DEFINEFUNC3(int, i2t_ASN1_OBJECT, char *a, a, int b, b, ASN1_OBJECT *c, c, return -1, return) never executed: return -1; never executed: return _q_i2t_ASN1_OBJECT(a, b, c); never evaluated: !_q_i2t_ASN1_OBJECT | 0 |
158 | DEFINEFUNC4(int, OBJ_obj2txt, char *a, a, int b, b, ASN1_OBJECT *c, c, int d, d, return -1, return) never executed: return -1; executed: return _q_OBJ_obj2txt(a, b, c, d); Execution Count:11 partially evaluated: !_q_OBJ_obj2txt no Evaluation Count:0 | yes Evaluation Count:11 |
| 0-11 |
159 | | - |
160 | DEFINEFUNC(int, OBJ_obj2nid, const ASN1_OBJECT *a, a, return NID_undef, return) never executed: return 0; executed: return _q_OBJ_obj2nid(a); Execution Count:697 partially evaluated: !_q_OBJ_obj2nid no Evaluation Count:0 | yes Evaluation Count:697 |
| 0-697 |
161 | #ifdef SSLEAY_MACROS | - |
162 | DEFINEFUNC6(void *, PEM_ASN1_read_bio, d2i_of_void *a, a, const char *b, b, BIO *c, c, void **d, d, pem_password_cb *e, e, void *f, f, return 0, return) | - |
163 | DEFINEFUNC6(void *, PEM_ASN1_write_bio, d2i_of_void *a, a, const char *b, b, BIO *c, c, void **d, d, pem_password_cb *e, e, void *f, f, return 0, return) | - |
164 | #else | - |
165 | DEFINEFUNC4(DSA *, PEM_read_bio_DSAPrivateKey, BIO *a, a, DSA **b, b, pem_password_cb *c, c, void *d, d, return 0, return) never executed: return 0; executed: return _q_PEM_read_bio_DSAPrivateKey(a, b, c, d); Execution Count:128 partially evaluated: !_q_PEM_read_bio_DSAPrivateKey no Evaluation Count:0 | yes Evaluation Count:128 |
| 0-128 |
166 | DEFINEFUNC4(RSA *, PEM_read_bio_RSAPrivateKey, BIO *a, a, RSA **b, b, pem_password_cb *c, c, void *d, d, return 0, return) never executed: return 0; executed: return _q_PEM_read_bio_RSAPrivateKey(a, b, c, d); Execution Count:234 partially evaluated: !_q_PEM_read_bio_RSAPrivateKey no Evaluation Count:0 | yes Evaluation Count:234 |
| 0-234 |
167 | DEFINEFUNC7(int, PEM_write_bio_DSAPrivateKey, BIO *a, a, DSA *b, b, const EVP_CIPHER *c, c, unsigned char *d, d, int e, e, pem_password_cb *f, f, void *g, g, return 0, return) never executed: return 0; executed: return _q_PEM_write_bio_DSAPrivateKey(a, b, c, d, e, f, g); Execution Count:328 partially evaluated: !_q_PEM_write_bio_DSAPrivateKey no Evaluation Count:0 | yes Evaluation Count:328 |
| 0-328 |
168 | DEFINEFUNC7(int, PEM_write_bio_RSAPrivateKey, BIO *a, a, RSA *b, b, const EVP_CIPHER *c, c, unsigned char *d, d, int e, e, pem_password_cb *f, f, void *g, g, return 0, return) never executed: return 0; executed: return _q_PEM_write_bio_RSAPrivateKey(a, b, c, d, e, f, g); Execution Count:574 partially evaluated: !_q_PEM_write_bio_RSAPrivateKey no Evaluation Count:0 | yes Evaluation Count:574 |
| 0-574 |
169 | #endif | - |
170 | DEFINEFUNC4(DSA *, PEM_read_bio_DSA_PUBKEY, BIO *a, a, DSA **b, b, pem_password_cb *c, c, void *d, d, return 0, return) never executed: return 0; executed: return _q_PEM_read_bio_DSA_PUBKEY(a, b, c, d); Execution Count:64 partially evaluated: !_q_PEM_read_bio_DSA_PUBKEY no Evaluation Count:0 | yes Evaluation Count:64 |
| 0-64 |
171 | DEFINEFUNC4(RSA *, PEM_read_bio_RSA_PUBKEY, BIO *a, a, RSA **b, b, pem_password_cb *c, c, void *d, d, return 0, return) never executed: return 0; executed: return _q_PEM_read_bio_RSA_PUBKEY(a, b, c, d); Execution Count:116 partially evaluated: !_q_PEM_read_bio_RSA_PUBKEY no Evaluation Count:0 | yes Evaluation Count:116 |
| 0-116 |
172 | DEFINEFUNC2(int, PEM_write_bio_DSA_PUBKEY, BIO *a, a, DSA *b, b, return 0, return) never executed: return 0; executed: return _q_PEM_write_bio_DSA_PUBKEY(a, b); Execution Count:232 partially evaluated: !_q_PEM_write_bio_DSA_PUBKEY no Evaluation Count:0 | yes Evaluation Count:232 |
| 0-232 |
173 | DEFINEFUNC2(int, PEM_write_bio_RSA_PUBKEY, BIO *a, a, RSA *b, b, return 0, return) never executed: return 0; executed: return _q_PEM_write_bio_RSA_PUBKEY(a, b); Execution Count:416 partially evaluated: !_q_PEM_write_bio_RSA_PUBKEY no Evaluation Count:0 | yes Evaluation Count:416 |
| 0-416 |
174 | DEFINEFUNC2(void, RAND_seed, const void *a, a, int b, b, return, DUMMYARG) never executed: return; never executed: } never evaluated: !_q_RAND_seed | 0 |
175 | DEFINEFUNC(int, RAND_status, void, DUMMYARG, return -1, return) never executed: return -1; executed: return _q_RAND_status(); Execution Count:10 partially evaluated: !_q_RAND_status no Evaluation Count:0 | yes Evaluation Count:10 |
| 0-10 |
176 | DEFINEFUNC(void, RSA_free, RSA *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:297 partially evaluated: !_q_RSA_free no Evaluation Count:0 | yes Evaluation Count:297 |
| 0-297 |
177 | DEFINEFUNC(int, sk_num, STACK *a, a, return -1, return) never executed: return -1; executed: return _q_sk_num(a); Execution Count:452 partially evaluated: !_q_sk_num no Evaluation Count:0 | yes Evaluation Count:452 |
| 0-452 |
178 | DEFINEFUNC2(void, sk_pop_free, STACK *a, a, void (*b)(void*), b, return, DUMMYARG) never executed: return; executed: } Execution Count:12 partially evaluated: !_q_sk_pop_free no Evaluation Count:0 | yes Evaluation Count:12 |
| 0-12 |
179 | #if OPENSSL_VERSION_NUMBER >= 0x10000000L | - |
180 | DEFINEFUNC(_STACK *, sk_new_null, DUMMYARG, DUMMYARG, return 0, return) | - |
181 | DEFINEFUNC2(void, sk_push, _STACK *a, a, void *b, b, return, DUMMYARG) | - |
182 | DEFINEFUNC(void, sk_free, _STACK *a, a, return, DUMMYARG) | - |
183 | DEFINEFUNC2(void *, sk_value, STACK *a, a, int b, b, return 0, return) | - |
184 | #else | - |
185 | DEFINEFUNC(STACK *, sk_new_null, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_sk_new_null(); Execution Count:4 partially evaluated: !_q_sk_new_null no Evaluation Count:0 | yes Evaluation Count:4 |
| 0-4 |
186 | DEFINEFUNC2(void, sk_push, STACK *a, a, void *b, b, return, DUMMYARG) never executed: return; executed: } Execution Count:4 partially evaluated: !_q_sk_push no Evaluation Count:0 | yes Evaluation Count:4 |
| 0-4 |
187 | DEFINEFUNC(void, sk_free, STACK *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:40 partially evaluated: !_q_sk_free no Evaluation Count:0 | yes Evaluation Count:40 |
| 0-40 |
188 | DEFINEFUNC2(char *, sk_value, STACK *a, a, int b, b, return 0, return) never executed: return 0; executed: return _q_sk_value(a, b); Execution Count:342 partially evaluated: !_q_sk_value no Evaluation Count:0 | yes Evaluation Count:342 |
| 0-342 |
189 | #endif | - |
190 | DEFINEFUNC(int, SSL_accept, SSL *a, a, return -1, return) never executed: return -1; executed: return _q_SSL_accept(a); Execution Count:18 partially evaluated: !_q_SSL_accept no Evaluation Count:0 | yes Evaluation Count:18 |
| 0-18 |
191 | DEFINEFUNC(int, SSL_clear, SSL *a, a, return -1, return) never executed: return -1; executed: return _q_SSL_clear(a); Execution Count:87 partially evaluated: !_q_SSL_clear no Evaluation Count:0 | yes Evaluation Count:87 |
| 0-87 |
192 | DEFINEFUNC3(char *, SSL_CIPHER_description, SSL_CIPHER *a, a, char *b, b, int c, c, return 0, return) never executed: return 0; executed: return _q_SSL_CIPHER_description(a, b, c); Execution Count:367 partially evaluated: !_q_SSL_CIPHER_description no Evaluation Count:0 | yes Evaluation Count:367 |
| 0-367 |
193 | DEFINEFUNC(int, SSL_connect, SSL *a, a, return -1, return) never executed: return -1; executed: return _q_SSL_connect(a); Execution Count:561 partially evaluated: !_q_SSL_connect no Evaluation Count:0 | yes Evaluation Count:561 |
| 0-561 |
194 | #if OPENSSL_VERSION_NUMBER >= 0x00908000L | - |
195 | // 0.9.8 broke SC and BC by changing this function's signature. | - |
196 | DEFINEFUNC(int, SSL_CTX_check_private_key, const SSL_CTX *a, a, return -1, return) never executed: return -1; executed: return _q_SSL_CTX_check_private_key(a); Execution Count:3 partially evaluated: !_q_SSL_CTX_check_private_key no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
197 | #else | - |
198 | DEFINEFUNC(int, SSL_CTX_check_private_key, SSL_CTX *a, a, return -1, return) | - |
199 | #endif | - |
200 | DEFINEFUNC4(long, SSL_CTX_ctrl, SSL_CTX *a, a, int b, b, long c, c, void *d, d, return -1, return) never executed: return -1; executed: return _q_SSL_CTX_ctrl(a, b, c, d); Execution Count:87 partially evaluated: !_q_SSL_CTX_ctrl no Evaluation Count:0 | yes Evaluation Count:87 |
| 0-87 |
201 | DEFINEFUNC(void, SSL_CTX_free, SSL_CTX *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:96 partially evaluated: !_q_SSL_CTX_free no Evaluation Count:0 | yes Evaluation Count:96 |
| 0-96 |
202 | #if OPENSSL_VERSION_NUMBER >= 0x10000000L | - |
203 | DEFINEFUNC(SSL_CTX *, SSL_CTX_new, const SSL_METHOD *a, a, return 0, return) | - |
204 | #else | - |
205 | DEFINEFUNC(SSL_CTX *, SSL_CTX_new, SSL_METHOD *a, a, return 0, return) never executed: return 0; executed: return _q_SSL_CTX_new(a); Execution Count:96 partially evaluated: !_q_SSL_CTX_new no Evaluation Count:0 | yes Evaluation Count:96 |
| 0-96 |
206 | #endif | - |
207 | DEFINEFUNC2(int, SSL_CTX_set_cipher_list, SSL_CTX *a, a, const char *b, b, return -1, return) never executed: return -1; executed: return _q_SSL_CTX_set_cipher_list(a, b); Execution Count:87 partially evaluated: !_q_SSL_CTX_set_cipher_list no Evaluation Count:0 | yes Evaluation Count:87 |
| 0-87 |
208 | DEFINEFUNC(int, SSL_CTX_set_default_verify_paths, SSL_CTX *a, a, return -1, return) never executed: return -1; never executed: return _q_SSL_CTX_set_default_verify_paths(a); never evaluated: !_q_SSL_CTX_set_default_verify_paths | 0 |
209 | DEFINEFUNC3(void, SSL_CTX_set_verify, SSL_CTX *a, a, int b, b, int (*c)(int, X509_STORE_CTX *), c, return, DUMMYARG) never executed: return; executed: } Execution Count:87 partially evaluated: !_q_SSL_CTX_set_verify no Evaluation Count:0 | yes Evaluation Count:87 |
| 0-87 |
210 | DEFINEFUNC2(void, SSL_CTX_set_verify_depth, SSL_CTX *a, a, int b, b, return, DUMMYARG) never executed: return; never executed: } never evaluated: !_q_SSL_CTX_set_verify_depth | 0 |
211 | DEFINEFUNC2(int, SSL_CTX_use_certificate, SSL_CTX *a, a, X509 *b, b, return -1, return) never executed: return -1; executed: return _q_SSL_CTX_use_certificate(a, b); Execution Count:3 partially evaluated: !_q_SSL_CTX_use_certificate no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
212 | DEFINEFUNC3(int, SSL_CTX_use_certificate_file, SSL_CTX *a, a, const char *b, b, int c, c, return -1, return) never executed: return -1; never executed: return _q_SSL_CTX_use_certificate_file(a, b, c); never evaluated: !_q_SSL_CTX_use_certificate_file | 0 |
213 | DEFINEFUNC2(int, SSL_CTX_use_PrivateKey, SSL_CTX *a, a, EVP_PKEY *b, b, return -1, return) never executed: return -1; executed: return _q_SSL_CTX_use_PrivateKey(a, b); Execution Count:3 partially evaluated: !_q_SSL_CTX_use_PrivateKey no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
214 | DEFINEFUNC2(int, SSL_CTX_use_RSAPrivateKey, SSL_CTX *a, a, RSA *b, b, return -1, return) never executed: return -1; never executed: return _q_SSL_CTX_use_RSAPrivateKey(a, b); never evaluated: !_q_SSL_CTX_use_RSAPrivateKey | 0 |
215 | DEFINEFUNC3(int, SSL_CTX_use_PrivateKey_file, SSL_CTX *a, a, const char *b, b, int c, c, return -1, return) never executed: return -1; never executed: return _q_SSL_CTX_use_PrivateKey_file(a, b, c); never evaluated: !_q_SSL_CTX_use_PrivateKey_file | 0 |
216 | DEFINEFUNC(void, SSL_free, SSL *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:96 partially evaluated: !_q_SSL_free no Evaluation Count:0 | yes Evaluation Count:96 |
| 0-96 |
217 | #if OPENSSL_VERSION_NUMBER >= 0x00908000L | - |
218 | // 0.9.8 broke SC and BC by changing this function's signature. | - |
219 | DEFINEFUNC(STACK_OF(SSL_CIPHER) *, SSL_get_ciphers, const SSL *a, a, return 0, return) never executed: return 0; executed: return _q_SSL_get_ciphers(a); Execution Count:9 partially evaluated: !_q_SSL_get_ciphers no Evaluation Count:0 | yes Evaluation Count:9 |
| 0-9 |
220 | #else | - |
221 | DEFINEFUNC(STACK_OF(SSL_CIPHER) *, SSL_get_ciphers, SSL *a, a, return 0, return) | - |
222 | #endif | - |
223 | #if OPENSSL_VERSION_NUMBER >= 0x10000000L | - |
224 | DEFINEFUNC(const SSL_CIPHER *, SSL_get_current_cipher, SSL *a, a, return 0, return) | - |
225 | #else | - |
226 | DEFINEFUNC(SSL_CIPHER *, SSL_get_current_cipher, SSL *a, a, return 0, return) never executed: return 0; executed: return _q_SSL_get_current_cipher(a); Execution Count:142 partially evaluated: !_q_SSL_get_current_cipher no Evaluation Count:0 | yes Evaluation Count:142 |
| 0-142 |
227 | #endif | - |
228 | DEFINEFUNC2(int, SSL_get_error, SSL *a, a, int b, b, return -1, return) never executed: return -1; executed: return _q_SSL_get_error(a, b); Execution Count:8409 partially evaluated: !_q_SSL_get_error no Evaluation Count:0 | yes Evaluation Count:8409 |
| 0-8409 |
229 | DEFINEFUNC(STACK_OF(X509) *, SSL_get_peer_cert_chain, SSL *a, a, return 0, return) never executed: return 0; executed: return _q_SSL_get_peer_cert_chain(a); Execution Count:86 partially evaluated: !_q_SSL_get_peer_cert_chain no Evaluation Count:0 | yes Evaluation Count:86 |
| 0-86 |
230 | DEFINEFUNC(X509 *, SSL_get_peer_certificate, SSL *a, a, return 0, return) never executed: return 0; executed: return _q_SSL_get_peer_certificate(a); Execution Count:80 partially evaluated: !_q_SSL_get_peer_certificate no Evaluation Count:0 | yes Evaluation Count:80 |
| 0-80 |
231 | #if OPENSSL_VERSION_NUMBER >= 0x00908000L | - |
232 | // 0.9.8 broke SC and BC by changing this function's signature. | - |
233 | DEFINEFUNC(long, SSL_get_verify_result, const SSL *a, a, return -1, return) never executed: return -1; never executed: return _q_SSL_get_verify_result(a); never evaluated: !_q_SSL_get_verify_result | 0 |
234 | #else | - |
235 | DEFINEFUNC(long, SSL_get_verify_result, SSL *a, a, return -1, return) | - |
236 | #endif | - |
237 | DEFINEFUNC(int, SSL_library_init, void, DUMMYARG, return -1, return) never executed: return -1; executed: return _q_SSL_library_init(); Execution Count:10 partially evaluated: !_q_SSL_library_init no Evaluation Count:0 | yes Evaluation Count:10 |
| 0-10 |
238 | DEFINEFUNC(void, SSL_load_error_strings, void, DUMMYARG, return, DUMMYARG) never executed: return; executed: } Execution Count:10 partially evaluated: !_q_SSL_load_error_strings no Evaluation Count:0 | yes Evaluation Count:10 |
| 0-10 |
239 | DEFINEFUNC(SSL *, SSL_new, SSL_CTX *a, a, return 0, return) never executed: return 0; executed: return _q_SSL_new(a); Execution Count:96 partially evaluated: !_q_SSL_new no Evaluation Count:0 | yes Evaluation Count:96 |
| 0-96 |
240 | #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) | - |
241 | DEFINEFUNC4(long, SSL_ctrl, SSL *a, a, int cmd, cmd, long larg, larg, void *parg, parg, return -1, return) never executed: return -1; executed: return _q_SSL_ctrl(a, cmd, larg, parg); Execution Count:75 partially evaluated: !_q_SSL_ctrl no Evaluation Count:0 | yes Evaluation Count:75 |
| 0-75 |
242 | #endif | - |
243 | DEFINEFUNC3(int, SSL_read, SSL *a, a, void *b, b, int c, c, return -1, return) never executed: return -1; executed: return _q_SSL_read(a, b, c); Execution Count:11055 partially evaluated: !_q_SSL_read no Evaluation Count:0 | yes Evaluation Count:11055 |
| 0-11055 |
244 | DEFINEFUNC3(void, SSL_set_bio, SSL *a, a, BIO *b, b, BIO *c, c, return, DUMMYARG) never executed: return; executed: } Execution Count:87 partially evaluated: !_q_SSL_set_bio no Evaluation Count:0 | yes Evaluation Count:87 |
| 0-87 |
245 | DEFINEFUNC(void, SSL_set_accept_state, SSL *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:3 partially evaluated: !_q_SSL_set_accept_state no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
246 | DEFINEFUNC(void, SSL_set_connect_state, SSL *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:84 partially evaluated: !_q_SSL_set_connect_state no Evaluation Count:0 | yes Evaluation Count:84 |
| 0-84 |
247 | DEFINEFUNC(int, SSL_shutdown, SSL *a, a, return -1, return) never executed: return -1; never executed: return _q_SSL_shutdown(a); never evaluated: !_q_SSL_shutdown | 0 |
248 | #if OPENSSL_VERSION_NUMBER >= 0x10000000L | - |
249 | #ifndef OPENSSL_NO_SSL2 | - |
250 | DEFINEFUNC(const SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return) | - |
251 | #endif | - |
252 | DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return) | - |
253 | DEFINEFUNC(const SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return) | - |
254 | DEFINEFUNC(const SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return) | - |
255 | #if OPENSSL_VERSION_NUMBER >= 0x10001000L | - |
256 | DEFINEFUNC(const SSL_METHOD *, TLSv1_1_client_method, DUMMYARG, DUMMYARG, return 0, return) | - |
257 | DEFINEFUNC(const SSL_METHOD *, TLSv1_2_client_method, DUMMYARG, DUMMYARG, return 0, return) | - |
258 | #endif | - |
259 | #ifndef OPENSSL_NO_SSL2 | - |
260 | DEFINEFUNC(const SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return) | - |
261 | #endif | - |
262 | DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return) | - |
263 | DEFINEFUNC(const SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return) | - |
264 | DEFINEFUNC(const SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return) | - |
265 | #if OPENSSL_VERSION_NUMBER >= 0x10001000L | - |
266 | DEFINEFUNC(const SSL_METHOD *, TLSv1_1_server_method, DUMMYARG, DUMMYARG, return 0, return) | - |
267 | DEFINEFUNC(const SSL_METHOD *, TLSv1_2_server_method, DUMMYARG, DUMMYARG, return 0, return) | - |
268 | #endif | - |
269 | #else | - |
270 | DEFINEFUNC(SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; never executed: return _q_SSLv2_client_method(); never evaluated: !_q_SSLv2_client_method | 0 |
271 | DEFINEFUNC(SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; never executed: return _q_SSLv3_client_method(); never evaluated: !_q_SSLv3_client_method | 0 |
272 | DEFINEFUNC(SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_SSLv23_client_method(); Execution Count:93 partially evaluated: !_q_SSLv23_client_method no Evaluation Count:0 | yes Evaluation Count:93 |
| 0-93 |
273 | DEFINEFUNC(SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; never executed: return _q_TLSv1_client_method(); never evaluated: !_q_TLSv1_client_method | 0 |
274 | DEFINEFUNC(SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; never executed: return _q_SSLv2_server_method(); never evaluated: !_q_SSLv2_server_method | 0 |
275 | DEFINEFUNC(SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; never executed: return _q_SSLv3_server_method(); never evaluated: !_q_SSLv3_server_method | 0 |
276 | DEFINEFUNC(SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_SSLv23_server_method(); Execution Count:3 partially evaluated: !_q_SSLv23_server_method no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
277 | DEFINEFUNC(SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; never executed: return _q_TLSv1_server_method(); never evaluated: !_q_TLSv1_server_method | 0 |
278 | #endif | - |
279 | DEFINEFUNC3(int, SSL_write, SSL *a, a, const void *b, b, int c, c, return -1, return) never executed: return -1; executed: return _q_SSL_write(a, b, c); Execution Count:3406 partially evaluated: !_q_SSL_write no Evaluation Count:0 | yes Evaluation Count:3406 |
| 0-3406 |
280 | DEFINEFUNC2(int, X509_cmp, X509 *a, a, X509 *b, b, return -1, return) never executed: return -1; executed: return _q_X509_cmp(a, b); Execution Count:6 partially evaluated: !_q_X509_cmp no Evaluation Count:0 | yes Evaluation Count:6 |
| 0-6 |
281 | #ifndef SSLEAY_MACROS | - |
282 | DEFINEFUNC(X509 *, X509_dup, X509 *a, a, return 0, return) never executed: return 0; executed: return _q_X509_dup(a); Execution Count:630 partially evaluated: !_q_X509_dup no Evaluation Count:0 | yes Evaluation Count:630 |
| 0-630 |
283 | #endif | - |
284 | DEFINEFUNC2(void, X509_print, BIO *a, a, X509 *b, b, return, DUMMYARG); never executed: return; executed: } Execution Count:3 partially evaluated: !_q_X509_print no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
285 | DEFINEFUNC(ASN1_OBJECT *, X509_EXTENSION_get_object, X509_EXTENSION *a, a, return 0, return) never executed: return 0; executed: return _q_X509_EXTENSION_get_object(a); Execution Count:18 partially evaluated: !_q_X509_EXTENSION_get_object no Evaluation Count:0 | yes Evaluation Count:18 |
| 0-18 |
286 | DEFINEFUNC(void, X509_free, X509 *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:1144 partially evaluated: !_q_X509_free no Evaluation Count:0 | yes Evaluation Count:1144 |
| 0-1144 |
287 | DEFINEFUNC2(X509_EXTENSION *, X509_get_ext, X509 *a, a, int b, b, return 0, return) never executed: return 0; executed: return _q_X509_get_ext(a, b); Execution Count:9 partially evaluated: !_q_X509_get_ext no Evaluation Count:0 | yes Evaluation Count:9 |
| 0-9 |
288 | DEFINEFUNC(int, X509_get_ext_count, X509 *a, a, return 0, return) never executed: return 0; executed: return _q_X509_get_ext_count(a); Execution Count:3 partially evaluated: !_q_X509_get_ext_count no Evaluation Count:0 | yes Evaluation Count:3 |
| 0-3 |
289 | DEFINEFUNC4(void *, X509_get_ext_d2i, X509 *a, a, int b, b, int *c, c, int *d, d, return 0, return) never executed: return 0; executed: return _q_X509_get_ext_d2i(a, b, c, d); Execution Count:35 partially evaluated: !_q_X509_get_ext_d2i no Evaluation Count:0 | yes Evaluation Count:35 |
| 0-35 |
290 | DEFINEFUNC(const X509V3_EXT_METHOD *, X509V3_EXT_get, X509_EXTENSION *a, a, return 0, return) never executed: return 0; executed: return _q_X509V3_EXT_get(a); Execution Count:6 partially evaluated: !_q_X509V3_EXT_get no Evaluation Count:0 | yes Evaluation Count:6 |
| 0-6 |
291 | DEFINEFUNC(void *, X509V3_EXT_d2i, X509_EXTENSION *a, a, return 0, return) never executed: return 0; executed: return _q_X509V3_EXT_d2i(a); Execution Count:8 partially evaluated: !_q_X509V3_EXT_d2i no Evaluation Count:0 | yes Evaluation Count:8 |
| 0-8 |
292 | DEFINEFUNC(int, X509_EXTENSION_get_critical, X509_EXTENSION *a, a, return 0, return) never executed: return 0; executed: return _q_X509_EXTENSION_get_critical(a); Execution Count:9 partially evaluated: !_q_X509_EXTENSION_get_critical no Evaluation Count:0 | yes Evaluation Count:9 |
| 0-9 |
293 | DEFINEFUNC(ASN1_OCTET_STRING *, X509_EXTENSION_get_data, X509_EXTENSION *a, a, return 0, return) never executed: return 0; executed: return _q_X509_EXTENSION_get_data(a); Execution Count:1 partially evaluated: !_q_X509_EXTENSION_get_data no Evaluation Count:0 | yes Evaluation Count:1 |
| 0-1 |
294 | DEFINEFUNC(void, BASIC_CONSTRAINTS_free, BASIC_CONSTRAINTS *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:1 partially evaluated: !_q_BASIC_CONSTRAINTS_free no Evaluation Count:0 | yes Evaluation Count:1 |
| 0-1 |
295 | DEFINEFUNC(void, AUTHORITY_KEYID_free, AUTHORITY_KEYID *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:1 partially evaluated: !_q_AUTHORITY_KEYID_free no Evaluation Count:0 | yes Evaluation Count:1 |
| 0-1 |
296 | DEFINEFUNC2(int, ASN1_STRING_print, BIO *a, a, const ASN1_STRING *b, b, return 0, return) never executed: return 0; never executed: return _q_ASN1_STRING_print(a, b); never evaluated: !_q_ASN1_STRING_print | 0 |
297 | DEFINEFUNC(X509_NAME *, X509_get_issuer_name, X509 *a, a, return 0, return) never executed: return 0; executed: return _q_X509_get_issuer_name(a); Execution Count:10 partially evaluated: !_q_X509_get_issuer_name no Evaluation Count:0 | yes Evaluation Count:10 |
| 0-10 |
298 | DEFINEFUNC(X509_NAME *, X509_get_subject_name, X509 *a, a, return 0, return) never executed: return 0; executed: return _q_X509_get_subject_name(a); Execution Count:106 partially evaluated: !_q_X509_get_subject_name no Evaluation Count:0 | yes Evaluation Count:106 |
| 0-106 |
299 | DEFINEFUNC(int, X509_verify_cert, X509_STORE_CTX *a, a, return -1, return) never executed: return -1; executed: return _q_X509_verify_cert(a); Execution Count:7 partially evaluated: !_q_X509_verify_cert no Evaluation Count:0 | yes Evaluation Count:7 |
| 0-7 |
300 | DEFINEFUNC(int, X509_NAME_entry_count, X509_NAME *a, a, return 0, return) never executed: return 0; executed: return _q_X509_NAME_entry_count(a); Execution Count:793 partially evaluated: !_q_X509_NAME_entry_count no Evaluation Count:0 | yes Evaluation Count:793 |
| 0-793 |
301 | DEFINEFUNC2(X509_NAME_ENTRY *, X509_NAME_get_entry, X509_NAME *a, a, int b, b, return 0, return) never executed: return 0; executed: return _q_X509_NAME_get_entry(a, b); Execution Count:677 partially evaluated: !_q_X509_NAME_get_entry no Evaluation Count:0 | yes Evaluation Count:677 |
| 0-677 |
302 | DEFINEFUNC(ASN1_STRING *, X509_NAME_ENTRY_get_data, X509_NAME_ENTRY *a, a, return 0, return) never executed: return 0; executed: return _q_X509_NAME_ENTRY_get_data(a); Execution Count:677 partially evaluated: !_q_X509_NAME_ENTRY_get_data no Evaluation Count:0 | yes Evaluation Count:677 |
| 0-677 |
303 | DEFINEFUNC(ASN1_OBJECT *, X509_NAME_ENTRY_get_object, X509_NAME_ENTRY *a, a, return 0, return) never executed: return 0; executed: return _q_X509_NAME_ENTRY_get_object(a); Execution Count:677 partially evaluated: !_q_X509_NAME_ENTRY_get_object no Evaluation Count:0 | yes Evaluation Count:677 |
| 0-677 |
304 | DEFINEFUNC(EVP_PKEY *, X509_PUBKEY_get, X509_PUBKEY *a, a, return 0, return) never executed: return 0; executed: return _q_X509_PUBKEY_get(a); Execution Count:6 partially evaluated: !_q_X509_PUBKEY_get no Evaluation Count:0 | yes Evaluation Count:6 |
| 0-6 |
305 | DEFINEFUNC(void, X509_STORE_free, X509_STORE *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:7 partially evaluated: !_q_X509_STORE_free no Evaluation Count:0 | yes Evaluation Count:7 |
| 0-7 |
306 | DEFINEFUNC(X509_STORE *, X509_STORE_new, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_X509_STORE_new(); Execution Count:7 partially evaluated: !_q_X509_STORE_new no Evaluation Count:0 | yes Evaluation Count:7 |
| 0-7 |
307 | DEFINEFUNC2(int, X509_STORE_add_cert, X509_STORE *a, a, X509 *b, b, return 0, return) never executed: return 0; executed: return _q_X509_STORE_add_cert(a, b); Execution Count:2023 partially evaluated: !_q_X509_STORE_add_cert no Evaluation Count:0 | yes Evaluation Count:2023 |
| 0-2023 |
308 | DEFINEFUNC(void, X509_STORE_CTX_free, X509_STORE_CTX *a, a, return, DUMMYARG) never executed: return; executed: } Execution Count:7 partially evaluated: !_q_X509_STORE_CTX_free no Evaluation Count:0 | yes Evaluation Count:7 |
| 0-7 |
309 | DEFINEFUNC4(int, X509_STORE_CTX_init, X509_STORE_CTX *a, a, X509_STORE *b, b, X509 *c, c, STACK_OF(X509) *d, d, return -1, return) never executed: return -1; executed: return _q_X509_STORE_CTX_init(a, b, c, d); Execution Count:7 partially evaluated: !_q_X509_STORE_CTX_init no Evaluation Count:0 | yes Evaluation Count:7 |
| 0-7 |
310 | DEFINEFUNC2(int, X509_STORE_CTX_set_purpose, X509_STORE_CTX *a, a, int b, b, return -1, return) never executed: return -1; never executed: return _q_X509_STORE_CTX_set_purpose(a, b); never evaluated: !_q_X509_STORE_CTX_set_purpose | 0 |
311 | DEFINEFUNC(int, X509_STORE_CTX_get_error, X509_STORE_CTX *a, a, return -1, return) never executed: return -1; executed: return _q_X509_STORE_CTX_get_error(a); Execution Count:50 partially evaluated: !_q_X509_STORE_CTX_get_error no Evaluation Count:0 | yes Evaluation Count:50 |
| 0-50 |
312 | DEFINEFUNC(int, X509_STORE_CTX_get_error_depth, X509_STORE_CTX *a, a, return -1, return) never executed: return -1; executed: return _q_X509_STORE_CTX_get_error_depth(a); Execution Count:50 partially evaluated: !_q_X509_STORE_CTX_get_error_depth no Evaluation Count:0 | yes Evaluation Count:50 |
| 0-50 |
313 | DEFINEFUNC(X509 *, X509_STORE_CTX_get_current_cert, X509_STORE_CTX *a, a, return 0, return) never executed: return 0; never executed: return _q_X509_STORE_CTX_get_current_cert(a); never evaluated: !_q_X509_STORE_CTX_get_current_cert | 0 |
314 | DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get_chain, X509_STORE_CTX *a, a, return 0, return) never executed: return 0; never executed: return _q_X509_STORE_CTX_get_chain(a); never evaluated: !_q_X509_STORE_CTX_get_chain | 0 |
315 | DEFINEFUNC(X509_STORE_CTX *, X509_STORE_CTX_new, DUMMYARG, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_X509_STORE_CTX_new(); Execution Count:7 partially evaluated: !_q_X509_STORE_CTX_new no Evaluation Count:0 | yes Evaluation Count:7 |
| 0-7 |
316 | #ifdef SSLEAY_MACROS | - |
317 | DEFINEFUNC2(int, i2d_DSAPrivateKey, const DSA *a, a, unsigned char **b, b, return -1, return) | - |
318 | DEFINEFUNC2(int, i2d_RSAPrivateKey, const RSA *a, a, unsigned char **b, b, return -1, return) | - |
319 | DEFINEFUNC3(RSA *, d2i_RSAPrivateKey, RSA **a, a, unsigned char **b, b, long c, c, return 0, return) | - |
320 | DEFINEFUNC3(DSA *, d2i_DSAPrivateKey, DSA **a, a, unsigned char **b, b, long c, c, return 0, return) | - |
321 | #endif | - |
322 | DEFINEFUNC(void, OPENSSL_add_all_algorithms_noconf, void, DUMMYARG, return, DUMMYARG) never executed: return; never executed: } never evaluated: !_q_OPENSSL_add_all_algorithms_noconf | 0 |
323 | DEFINEFUNC(void, OPENSSL_add_all_algorithms_conf, void, DUMMYARG, return, DUMMYARG) never executed: return; executed: } Execution Count:10 partially evaluated: !_q_OPENSSL_add_all_algorithms_conf no Evaluation Count:0 | yes Evaluation Count:10 |
| 0-10 |
324 | DEFINEFUNC3(int, SSL_CTX_load_verify_locations, SSL_CTX *ctx, ctx, const char *CAfile, CAfile, const char *CApath, CApath, return 0, return) never executed: return 0; executed: return _q_SSL_CTX_load_verify_locations(ctx, CAfile, CApath); Execution Count:360 partially evaluated: !_q_SSL_CTX_load_verify_locations no Evaluation Count:0 | yes Evaluation Count:360 |
| 0-360 |
325 | DEFINEFUNC(long, SSLeay, void, DUMMYARG, return 0, return) never executed: return 0; executed: return _q_SSLeay(); Execution Count:84 partially evaluated: !_q_SSLeay no Evaluation Count:0 | yes Evaluation Count:84 |
| 0-84 |
326 | DEFINEFUNC(const char *, SSLeay_version, int a, a, return 0, return) never executed: return 0; never executed: return _q_SSLeay_version(a); never evaluated: !_q_SSLeay_version | 0 |
327 | | - |
328 | #define RESOLVEFUNC(func) \ | - |
329 | if (!(_q_##func = _q_PTR_##func(libs.first->resolve(#func))) \ | - |
330 | && !(_q_##func = _q_PTR_##func(libs.second->resolve(#func)))) \ | - |
331 | qWarning("QSslSocket: cannot resolve "#func); | - |
332 | | - |
333 | #if !defined QT_LINKED_OPENSSL | - |
334 | | - |
335 | #ifdef QT_NO_LIBRARY | - |
336 | bool q_resolveOpenSslSymbols() | - |
337 | { | - |
338 | qWarning("QSslSocket: unable to resolve symbols. " | - |
339 | "QT_NO_LIBRARY is defined which means runtime resolving of " | - |
340 | "libraries won't work."); | - |
341 | qWarning("Either compile Qt statically or with support for runtime resolving " | - |
342 | "of libraries."); | - |
343 | return false; | - |
344 | } | - |
345 | #else | - |
346 | | - |
347 | # ifdef Q_OS_UNIX | - |
348 | static bool libGreaterThan(const QString &lhs, const QString &rhs) | - |
349 | { | - |
350 | QStringList lhsparts = lhs.split(QLatin1Char('.')); never executed (the execution status of this line is deduced): QStringList lhsparts = lhs.split(QLatin1Char('.')); | - |
351 | QStringList rhsparts = rhs.split(QLatin1Char('.')); never executed (the execution status of this line is deduced): QStringList rhsparts = rhs.split(QLatin1Char('.')); | - |
352 | Q_ASSERT(lhsparts.count() > 1 && rhsparts.count() > 1); never executed (the execution status of this line is deduced): qt_noop(); | - |
353 | | - |
354 | for (int i = 1; i < rhsparts.count(); ++i) { never evaluated: i < rhsparts.count() | 0 |
355 | if (lhsparts.count() <= i) never evaluated: lhsparts.count() <= i | 0 |
356 | // left hand side is shorter, so it's less than rhs | - |
357 | return false; never executed: return false; | 0 |
358 | | - |
359 | bool ok = false; never executed (the execution status of this line is deduced): bool ok = false; | - |
360 | int b = 0; never executed (the execution status of this line is deduced): int b = 0; | - |
361 | int a = lhsparts.at(i).toInt(&ok); never executed (the execution status of this line is deduced): int a = lhsparts.at(i).toInt(&ok); | - |
362 | if (ok) | 0 |
363 | b = rhsparts.at(i).toInt(&ok); never executed: b = rhsparts.at(i).toInt(&ok); | 0 |
364 | if (ok) { | 0 |
365 | // both toInt succeeded | - |
366 | if (a == b) | 0 |
367 | continue; never executed: continue; | 0 |
368 | return a > b; never executed: return a > b; | 0 |
369 | } else { | - |
370 | // compare as strings; | - |
371 | if (lhsparts.at(i) == rhsparts.at(i)) never evaluated: lhsparts.at(i) == rhsparts.at(i) | 0 |
372 | continue; never executed: continue; | 0 |
373 | return lhsparts.at(i) > rhsparts.at(i); never executed: return lhsparts.at(i) > rhsparts.at(i); | 0 |
374 | } | - |
375 | } | - |
376 | | - |
377 | // they compared strictly equally so far | - |
378 | // lhs cannot be less than rhs | - |
379 | return true; never executed: return true; | 0 |
380 | } | - |
381 | | - |
382 | #ifdef Q_OS_LINUX | - |
383 | static int dlIterateCallback(struct dl_phdr_info *info, size_t size, void *data) | - |
384 | { | - |
385 | if (size < sizeof (info->dlpi_addr) + sizeof (info->dlpi_name)) never evaluated: size < sizeof (info->dlpi_addr) + sizeof (info->dlpi_name) | 0 |
386 | return 1; never executed: return 1; | 0 |
387 | QSet<QString> *paths = (QSet<QString> *)data; never executed (the execution status of this line is deduced): QSet<QString> *paths = (QSet<QString> *)data; | - |
388 | QString path = QString::fromLocal8Bit(info->dlpi_name); never executed (the execution status of this line is deduced): QString path = QString::fromLocal8Bit(info->dlpi_name); | - |
389 | if (!path.isEmpty()) { never evaluated: !path.isEmpty() | 0 |
390 | QFileInfo fi(path); never executed (the execution status of this line is deduced): QFileInfo fi(path); | - |
391 | path = fi.absolutePath(); never executed (the execution status of this line is deduced): path = fi.absolutePath(); | - |
392 | if (!path.isEmpty()) never evaluated: !path.isEmpty() | 0 |
393 | paths->insert(path); never executed: paths->insert(path); | 0 |
394 | } | 0 |
395 | return 0; never executed: return 0; | 0 |
396 | } | - |
397 | #endif | - |
398 | | - |
399 | static QStringList libraryPathList() | - |
400 | { | - |
401 | QStringList paths; never executed (the execution status of this line is deduced): QStringList paths; | - |
402 | # ifdef Q_OS_DARWIN | - |
403 | paths = QString::fromLatin1(qgetenv("DYLD_LIBRARY_PATH")) | - |
404 | .split(QLatin1Char(':'), QString::SkipEmptyParts); | - |
405 | # else | - |
406 | paths = QString::fromLatin1(qgetenv("LD_LIBRARY_PATH")) never executed (the execution status of this line is deduced): paths = QString::fromLatin1(qgetenv("LD_LIBRARY_PATH")) | - |
407 | .split(QLatin1Char(':'), QString::SkipEmptyParts); never executed (the execution status of this line is deduced): .split(QLatin1Char(':'), QString::SkipEmptyParts); | - |
408 | # endif | - |
409 | paths << QLatin1String("/lib") << QLatin1String("/usr/lib") << QLatin1String("/usr/local/lib"); never executed (the execution status of this line is deduced): paths << QLatin1String("/lib") << QLatin1String("/usr/lib") << QLatin1String("/usr/local/lib"); | - |
410 | paths << QLatin1String("/lib64") << QLatin1String("/usr/lib64") << QLatin1String("/usr/local/lib64"); never executed (the execution status of this line is deduced): paths << QLatin1String("/lib64") << QLatin1String("/usr/lib64") << QLatin1String("/usr/local/lib64"); | - |
411 | paths << QLatin1String("/lib32") << QLatin1String("/usr/lib32") << QLatin1String("/usr/local/lib32"); never executed (the execution status of this line is deduced): paths << QLatin1String("/lib32") << QLatin1String("/usr/lib32") << QLatin1String("/usr/local/lib32"); | - |
412 | | - |
413 | #ifdef Q_OS_LINUX | - |
414 | // discover paths of already loaded libraries | - |
415 | QSet<QString> loadedPaths; never executed (the execution status of this line is deduced): QSet<QString> loadedPaths; | - |
416 | dl_iterate_phdr(dlIterateCallback, &loadedPaths); never executed (the execution status of this line is deduced): dl_iterate_phdr(dlIterateCallback, &loadedPaths); | - |
417 | paths.append(loadedPaths.toList()); never executed (the execution status of this line is deduced): paths.append(loadedPaths.toList()); | - |
418 | #endif | - |
419 | | - |
420 | return paths; never executed: return paths; | 0 |
421 | } | - |
422 | | - |
423 | | - |
424 | static QStringList findAllLibSsl() | - |
425 | { | - |
426 | QStringList paths = libraryPathList(); never executed (the execution status of this line is deduced): QStringList paths = libraryPathList(); | - |
427 | QStringList foundSsls; never executed (the execution status of this line is deduced): QStringList foundSsls; | - |
428 | | - |
429 | foreach (const QString &path, paths) { never executed (the execution status of this line is deduced): for (QForeachContainer<__typeof__(paths)> _container_(paths); !_container_.brk && _container_.i != _container_.e; __extension__ ({ ++_container_.brk; ++_container_.i; })) for (const QString &path = *_container_.i;; __extension__ ({--_container_.brk; break;})) { | - |
430 | QDir dir(path); never executed (the execution status of this line is deduced): QDir dir(path); | - |
431 | QStringList entryList = dir.entryList(QStringList() << QLatin1String("libssl.*"), QDir::Files); never executed (the execution status of this line is deduced): QStringList entryList = dir.entryList(QStringList() << QLatin1String("libssl.*"), QDir::Files); | - |
432 | | - |
433 | std::sort(entryList.begin(), entryList.end(), libGreaterThan); never executed (the execution status of this line is deduced): std::sort(entryList.begin(), entryList.end(), libGreaterThan); | - |
434 | foreach (const QString &entry, entryList) never executed (the execution status of this line is deduced): for (QForeachContainer<__typeof__(entryList)> _container_(entryList); !_container_.brk && _container_.i != _container_.e; __extension__ ({ ++_container_.brk; ++_container_.i; })) for (const QString &entry = *_container_.i;; __extension__ ({--_container_.brk; break;})) | - |
435 | foundSsls << path + QLatin1Char('/') + entry; never executed: foundSsls << path + QLatin1Char('/') + entry; | 0 |
436 | } | 0 |
437 | | - |
438 | return foundSsls; never executed: return foundSsls; | 0 |
439 | } | - |
440 | | - |
441 | static QStringList findAllLibCrypto() | - |
442 | { | - |
443 | QStringList paths = libraryPathList(); never executed (the execution status of this line is deduced): QStringList paths = libraryPathList(); | - |
444 | | - |
445 | QStringList foundCryptos; never executed (the execution status of this line is deduced): QStringList foundCryptos; | - |
446 | foreach (const QString &path, paths) { never executed (the execution status of this line is deduced): for (QForeachContainer<__typeof__(paths)> _container_(paths); !_container_.brk && _container_.i != _container_.e; __extension__ ({ ++_container_.brk; ++_container_.i; })) for (const QString &path = *_container_.i;; __extension__ ({--_container_.brk; break;})) { | - |
447 | QDir dir(path); never executed (the execution status of this line is deduced): QDir dir(path); | - |
448 | QStringList entryList = dir.entryList(QStringList() << QLatin1String("libcrypto.*"), QDir::Files); never executed (the execution status of this line is deduced): QStringList entryList = dir.entryList(QStringList() << QLatin1String("libcrypto.*"), QDir::Files); | - |
449 | | - |
450 | std::sort(entryList.begin(), entryList.end(), libGreaterThan); never executed (the execution status of this line is deduced): std::sort(entryList.begin(), entryList.end(), libGreaterThan); | - |
451 | foreach (const QString &entry, entryList) never executed (the execution status of this line is deduced): for (QForeachContainer<__typeof__(entryList)> _container_(entryList); !_container_.brk && _container_.i != _container_.e; __extension__ ({ ++_container_.brk; ++_container_.i; })) for (const QString &entry = *_container_.i;; __extension__ ({--_container_.brk; break;})) | - |
452 | foundCryptos << path + QLatin1Char('/') + entry; never executed: foundCryptos << path + QLatin1Char('/') + entry; | 0 |
453 | } | 0 |
454 | | - |
455 | return foundCryptos; never executed: return foundCryptos; | 0 |
456 | } | - |
457 | # endif | - |
458 | | - |
459 | #ifdef Q_OS_WIN | - |
460 | static QPair<QSystemLibrary*, QSystemLibrary*> loadOpenSslWin32() | - |
461 | { | - |
462 | QPair<QSystemLibrary*,QSystemLibrary*> pair; | - |
463 | pair.first = 0; | - |
464 | pair.second = 0; | - |
465 | | - |
466 | QSystemLibrary *ssleay32 = new QSystemLibrary(QLatin1String("ssleay32")); | - |
467 | if (!ssleay32->load(false)) { | - |
468 | // Cannot find ssleay32.dll | - |
469 | delete ssleay32; | - |
470 | return pair; | - |
471 | } | - |
472 | | - |
473 | QSystemLibrary *libeay32 = new QSystemLibrary(QLatin1String("libeay32")); | - |
474 | if (!libeay32->load(false)) { | - |
475 | delete ssleay32; | - |
476 | delete libeay32; | - |
477 | return pair; | - |
478 | } | - |
479 | | - |
480 | pair.first = ssleay32; | - |
481 | pair.second = libeay32; | - |
482 | return pair; | - |
483 | } | - |
484 | #else | - |
485 | | - |
486 | static QPair<QLibrary*, QLibrary*> loadOpenSsl() | - |
487 | { | - |
488 | QPair<QLibrary*,QLibrary*> pair; executed (the execution status of this line is deduced): QPair<QLibrary*,QLibrary*> pair; | - |
489 | pair.first = 0; executed (the execution status of this line is deduced): pair.first = 0; | - |
490 | pair.second = 0; executed (the execution status of this line is deduced): pair.second = 0; | - |
491 | | - |
492 | # if defined(Q_OS_UNIX) | - |
493 | QLibrary *&libssl = pair.first; executed (the execution status of this line is deduced): QLibrary *&libssl = pair.first; | - |
494 | QLibrary *&libcrypto = pair.second; executed (the execution status of this line is deduced): QLibrary *&libcrypto = pair.second; | - |
495 | libssl = new QLibrary; executed (the execution status of this line is deduced): libssl = new QLibrary; | - |
496 | libcrypto = new QLibrary; executed (the execution status of this line is deduced): libcrypto = new QLibrary; | - |
497 | | - |
498 | // Try to find the libssl library on the system. | - |
499 | // | - |
500 | // Up until Qt 4.3, this only searched for the "ssl" library at version -1, that | - |
501 | // is, libssl.so on most Unix systems. However, the .so file isn't present in | - |
502 | // user installations because it's considered a development file. | - |
503 | // | - |
504 | // The right thing to do is to load the library at the major version we know how | - |
505 | // to work with: the SHLIB_VERSION_NUMBER version (macro defined in opensslv.h) | - |
506 | // | - |
507 | // However, OpenSSL is a well-known case of binary-compatibility breakage. To | - |
508 | // avoid such problems, many system integrators and Linux distributions change | - |
509 | // the soname of the binary, letting the full version number be the soname. So | - |
510 | // we'll find libssl.so.0.9.7, libssl.so.0.9.8, etc. in the system. For that | - |
511 | // reason, we will search a few common paths (see findAllLibSsl() above) in hopes | - |
512 | // we find one that works. | - |
513 | // | - |
514 | // It is important, however, to try the canonical name and the unversioned name | - |
515 | // without going through the loop. By not specifying a path, we let the system | - |
516 | // dlopen(3) function determine it for us. This will include any DT_RUNPATH or | - |
517 | // DT_RPATH tags on our library header as well as other system-specific search | - |
518 | // paths. See the man page for dlopen(3) on your system for more information. | - |
519 | | - |
520 | #ifdef Q_OS_OPENBSD | - |
521 | libcrypto->setLoadHints(QLibrary::ExportExternalSymbolsHint); | - |
522 | #endif | - |
523 | #ifdef SHLIB_VERSION_NUMBER | - |
524 | // first attempt: the canonical name is libssl.so.<SHLIB_VERSION_NUMBER> | - |
525 | libssl->setFileNameAndVersion(QLatin1String("ssl"), QLatin1String(SHLIB_VERSION_NUMBER)); executed (the execution status of this line is deduced): libssl->setFileNameAndVersion(QLatin1String("ssl"), QLatin1String("0.9.8")); | - |
526 | libcrypto->setFileNameAndVersion(QLatin1String("crypto"), QLatin1String(SHLIB_VERSION_NUMBER)); executed (the execution status of this line is deduced): libcrypto->setFileNameAndVersion(QLatin1String("crypto"), QLatin1String("0.9.8")); | - |
527 | if (libcrypto->load() && libssl->load()) { partially evaluated: libcrypto->load() yes Evaluation Count:10 | no Evaluation Count:0 |
partially evaluated: libssl->load() yes Evaluation Count:10 | no Evaluation Count:0 |
| 0-10 |
528 | // libssl.so.<SHLIB_VERSION_NUMBER> and libcrypto.so.<SHLIB_VERSION_NUMBER> found | - |
529 | return pair; executed: return pair; Execution Count:10 | 10 |
530 | } else { | - |
531 | libssl->unload(); never executed (the execution status of this line is deduced): libssl->unload(); | - |
532 | libcrypto->unload(); never executed (the execution status of this line is deduced): libcrypto->unload(); | - |
533 | } | 0 |
534 | #endif | - |
535 | | - |
536 | // second attempt: find the development files libssl.so and libcrypto.so | - |
537 | libssl->setFileNameAndVersion(QLatin1String("ssl"), -1); never executed (the execution status of this line is deduced): libssl->setFileNameAndVersion(QLatin1String("ssl"), -1); | - |
538 | libcrypto->setFileNameAndVersion(QLatin1String("crypto"), -1); never executed (the execution status of this line is deduced): libcrypto->setFileNameAndVersion(QLatin1String("crypto"), -1); | - |
539 | if (libcrypto->load() && libssl->load()) { never evaluated: libcrypto->load() never evaluated: libssl->load() | 0 |
540 | // libssl.so.0 and libcrypto.so.0 found | - |
541 | return pair; never executed: return pair; | 0 |
542 | } else { | - |
543 | libssl->unload(); never executed (the execution status of this line is deduced): libssl->unload(); | - |
544 | libcrypto->unload(); never executed (the execution status of this line is deduced): libcrypto->unload(); | - |
545 | } | 0 |
546 | | - |
547 | // third attempt: loop on the most common library paths and find libssl | - |
548 | QStringList sslList = findAllLibSsl(); never executed (the execution status of this line is deduced): QStringList sslList = findAllLibSsl(); | - |
549 | QStringList cryptoList = findAllLibCrypto(); never executed (the execution status of this line is deduced): QStringList cryptoList = findAllLibCrypto(); | - |
550 | | - |
551 | foreach (const QString &crypto, cryptoList) { never executed (the execution status of this line is deduced): for (QForeachContainer<__typeof__(cryptoList)> _container_(cryptoList); !_container_.brk && _container_.i != _container_.e; __extension__ ({ ++_container_.brk; ++_container_.i; })) for (const QString &crypto = *_container_.i;; __extension__ ({--_container_.brk; break;})) { | - |
552 | libcrypto->setFileNameAndVersion(crypto, -1); never executed (the execution status of this line is deduced): libcrypto->setFileNameAndVersion(crypto, -1); | - |
553 | if (libcrypto->load()) { never evaluated: libcrypto->load() | 0 |
554 | QFileInfo fi(crypto); never executed (the execution status of this line is deduced): QFileInfo fi(crypto); | - |
555 | QString version = fi.completeSuffix(); never executed (the execution status of this line is deduced): QString version = fi.completeSuffix(); | - |
556 | | - |
557 | foreach (const QString &ssl, sslList) { never executed (the execution status of this line is deduced): for (QForeachContainer<__typeof__(sslList)> _container_(sslList); !_container_.brk && _container_.i != _container_.e; __extension__ ({ ++_container_.brk; ++_container_.i; })) for (const QString &ssl = *_container_.i;; __extension__ ({--_container_.brk; break;})) { | - |
558 | if (!ssl.endsWith(version)) never evaluated: !ssl.endsWith(version) | 0 |
559 | continue; never executed: continue; | 0 |
560 | | - |
561 | libssl->setFileNameAndVersion(ssl, -1); never executed (the execution status of this line is deduced): libssl->setFileNameAndVersion(ssl, -1); | - |
562 | | - |
563 | if (libssl->load()) { never evaluated: libssl->load() | 0 |
564 | // libssl.so.x and libcrypto.so.x found | - |
565 | return pair; never executed: return pair; | 0 |
566 | } else { | - |
567 | libssl->unload(); never executed (the execution status of this line is deduced): libssl->unload(); | - |
568 | } | 0 |
569 | } | - |
570 | } | 0 |
571 | libcrypto->unload(); never executed (the execution status of this line is deduced): libcrypto->unload(); | - |
572 | } | 0 |
573 | | - |
574 | // failed to load anything | - |
575 | delete libssl; never executed (the execution status of this line is deduced): delete libssl; | - |
576 | delete libcrypto; never executed (the execution status of this line is deduced): delete libcrypto; | - |
577 | libssl = libcrypto = 0; never executed (the execution status of this line is deduced): libssl = libcrypto = 0; | - |
578 | return pair; never executed: return pair; | 0 |
579 | | - |
580 | # else | - |
581 | // not implemented for this platform yet | - |
582 | return pair; | - |
583 | # endif | - |
584 | } | - |
585 | #endif | - |
586 | | - |
587 | bool q_resolveOpenSslSymbols() | - |
588 | { | - |
589 | static bool symbolsResolved = false; | - |
590 | static bool triedToResolveSymbols = false; | - |
591 | #ifndef QT_NO_THREAD | - |
592 | QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_SSL_library_init)); executed (the execution status of this line is deduced): QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_SSL_library_init)); | - |
593 | #endif | - |
594 | if (symbolsResolved) evaluated: symbolsResolved yes Evaluation Count:36012 | yes Evaluation Count:10 |
| 10-36012 |
595 | return true; executed: return true; Execution Count:36012 | 36012 |
596 | if (triedToResolveSymbols) partially evaluated: triedToResolveSymbols no Evaluation Count:0 | yes Evaluation Count:10 |
| 0-10 |
597 | return false; never executed: return false; | 0 |
598 | triedToResolveSymbols = true; executed (the execution status of this line is deduced): triedToResolveSymbols = true; | - |
599 | | - |
600 | #ifdef Q_OS_WIN | - |
601 | QPair<QSystemLibrary *, QSystemLibrary *> libs = loadOpenSslWin32(); | - |
602 | #else | - |
603 | QPair<QLibrary *, QLibrary *> libs = loadOpenSsl(); executed (the execution status of this line is deduced): QPair<QLibrary *, QLibrary *> libs = loadOpenSsl(); | - |
604 | #endif | - |
605 | if (!libs.first || !libs.second) partially evaluated: !libs.first no Evaluation Count:0 | yes Evaluation Count:10 |
partially evaluated: !libs.second no Evaluation Count:0 | yes Evaluation Count:10 |
| 0-10 |
606 | // failed to load them | - |
607 | return false; never executed: return false; | 0 |
608 | | - |
609 | #ifdef SSLEAY_MACROS | - |
610 | RESOLVEFUNC(ASN1_dup) | - |
611 | #endif | - |
612 | RESOLVEFUNC(ASN1_INTEGER_get) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 612, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""ASN1_INTEGER_get"); partially evaluated: !(_q_ASN1_INTEGER_get = _q_PTR_ASN1_INTEGER_get(libs.first->resolve("ASN1_INTEGER_get"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_ASN1_INTEGER_get = _q_PTR_ASN1_INTEGER_get(libs.second->resolve("ASN1_INTEGER_get"))) | 0-10 |
613 | RESOLVEFUNC(ASN1_STRING_data) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 613, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""ASN1_STRING_data"); partially evaluated: !(_q_ASN1_STRING_data = _q_PTR_ASN1_STRING_data(libs.first->resolve("ASN1_STRING_data"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_ASN1_STRING_data = _q_PTR_ASN1_STRING_data(libs.second->resolve("ASN1_STRING_data"))) | 0-10 |
614 | RESOLVEFUNC(ASN1_STRING_length) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 614, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""ASN1_STRING_length"); partially evaluated: !(_q_ASN1_STRING_length = _q_PTR_ASN1_STRING_length(libs.first->resolve("ASN1_STRING_length"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_ASN1_STRING_length = _q_PTR_ASN1_STRING_length(libs.second->resolve("ASN1_STRING_length"))) | 0-10 |
615 | RESOLVEFUNC(ASN1_STRING_to_UTF8) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 615, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""ASN1_STRING_to_UTF8"); partially evaluated: !(_q_ASN1_STRING_to_UTF8 = _q_PTR_ASN1_STRING_to_UTF8(libs.first->resolve("ASN1_STRING_to_UTF8"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_ASN1_STRING_to_UTF8 = _q_PTR_ASN1_STRING_to_UTF8(libs.second->resolve("ASN1_STRING_to_UTF8"))) | 0-10 |
616 | RESOLVEFUNC(BIO_ctrl) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 616, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BIO_ctrl"); partially evaluated: !(_q_BIO_ctrl = _q_PTR_BIO_ctrl(libs.first->resolve("BIO_ctrl"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BIO_ctrl = _q_PTR_BIO_ctrl(libs.second->resolve("BIO_ctrl"))) | 0-10 |
617 | RESOLVEFUNC(BIO_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 617, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BIO_free"); partially evaluated: !(_q_BIO_free = _q_PTR_BIO_free(libs.first->resolve("BIO_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BIO_free = _q_PTR_BIO_free(libs.second->resolve("BIO_free"))) | 0-10 |
618 | RESOLVEFUNC(BIO_new) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 618, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BIO_new"); partially evaluated: !(_q_BIO_new = _q_PTR_BIO_new(libs.first->resolve("BIO_new"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BIO_new = _q_PTR_BIO_new(libs.second->resolve("BIO_new"))) | 0-10 |
619 | RESOLVEFUNC(BIO_new_mem_buf) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 619, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BIO_new_mem_buf"); partially evaluated: !(_q_BIO_new_mem_buf = _q_PTR_BIO_new_mem_buf(libs.first->resolve("BIO_new_mem_buf"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BIO_new_mem_buf = _q_PTR_BIO_new_mem_buf(libs.second->resolve("BIO_new_mem_buf"))) | 0-10 |
620 | RESOLVEFUNC(BIO_read) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 620, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BIO_read"); partially evaluated: !(_q_BIO_read = _q_PTR_BIO_read(libs.first->resolve("BIO_read"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BIO_read = _q_PTR_BIO_read(libs.second->resolve("BIO_read"))) | 0-10 |
621 | RESOLVEFUNC(BIO_s_mem) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 621, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BIO_s_mem"); partially evaluated: !(_q_BIO_s_mem = _q_PTR_BIO_s_mem(libs.first->resolve("BIO_s_mem"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BIO_s_mem = _q_PTR_BIO_s_mem(libs.second->resolve("BIO_s_mem"))) | 0-10 |
622 | RESOLVEFUNC(BIO_write) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 622, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BIO_write"); partially evaluated: !(_q_BIO_write = _q_PTR_BIO_write(libs.first->resolve("BIO_write"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BIO_write = _q_PTR_BIO_write(libs.second->resolve("BIO_write"))) | 0-10 |
623 | RESOLVEFUNC(BN_num_bits) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 623, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BN_num_bits"); partially evaluated: !(_q_BN_num_bits = _q_PTR_BN_num_bits(libs.first->resolve("BN_num_bits"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BN_num_bits = _q_PTR_BN_num_bits(libs.second->resolve("BN_num_bits"))) | 0-10 |
624 | RESOLVEFUNC(CRYPTO_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 624, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""CRYPTO_free"); partially evaluated: !(_q_CRYPTO_free = _q_PTR_CRYPTO_free(libs.first->resolve("CRYPTO_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_CRYPTO_free = _q_PTR_CRYPTO_free(libs.second->resolve("CRYPTO_free"))) | 0-10 |
625 | RESOLVEFUNC(CRYPTO_num_locks) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 625, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""CRYPTO_num_locks"); partially evaluated: !(_q_CRYPTO_num_locks = _q_PTR_CRYPTO_num_locks(libs.first->resolve("CRYPTO_num_locks"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_CRYPTO_num_locks = _q_PTR_CRYPTO_num_locks(libs.second->resolve("CRYPTO_num_locks"))) | 0-10 |
626 | RESOLVEFUNC(CRYPTO_set_id_callback) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 626, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""CRYPTO_set_id_callback"); partially evaluated: !(_q_CRYPTO_set_id_callback = _q_PTR_CRYPTO_set_id_callback(libs.first->resolve("CRYPTO_set_id_callback"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_CRYPTO_set_id_callback = _q_PTR_CRYPTO_set_id_callback(libs.second->resolve("CRYPTO_set_id_callback"))) | 0-10 |
627 | RESOLVEFUNC(CRYPTO_set_locking_callback) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 627, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""CRYPTO_set_locking_callback"); partially evaluated: !(_q_CRYPTO_set_locking_callback = _q_PTR_CRYPTO_set_locking_callback(libs.first->resolve("CRYPTO_set_locking_callback"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_CRYPTO_set_locking_callback = _q_PTR_CRYPTO_set_locking_callback(libs.second->resolve("CRYPTO_set_locking_callback"))) | 0-10 |
628 | RESOLVEFUNC(DSA_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 628, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""DSA_free"); partially evaluated: !(_q_DSA_free = _q_PTR_DSA_free(libs.first->resolve("DSA_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_DSA_free = _q_PTR_DSA_free(libs.second->resolve("DSA_free"))) | 0-10 |
629 | RESOLVEFUNC(ERR_error_string) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 629, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""ERR_error_string"); partially evaluated: !(_q_ERR_error_string = _q_PTR_ERR_error_string(libs.first->resolve("ERR_error_string"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_ERR_error_string = _q_PTR_ERR_error_string(libs.second->resolve("ERR_error_string"))) | 0-10 |
630 | RESOLVEFUNC(ERR_get_error) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 630, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""ERR_get_error"); partially evaluated: !(_q_ERR_get_error = _q_PTR_ERR_get_error(libs.first->resolve("ERR_get_error"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_ERR_get_error = _q_PTR_ERR_get_error(libs.second->resolve("ERR_get_error"))) | 0-10 |
631 | RESOLVEFUNC(ERR_free_strings) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 631, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""ERR_free_strings"); partially evaluated: !(_q_ERR_free_strings = _q_PTR_ERR_free_strings(libs.first->resolve("ERR_free_strings"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_ERR_free_strings = _q_PTR_ERR_free_strings(libs.second->resolve("ERR_free_strings"))) | 0-10 |
632 | RESOLVEFUNC(EVP_des_ede3_cbc) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 632, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_des_ede3_cbc"); partially evaluated: !(_q_EVP_des_ede3_cbc = _q_PTR_EVP_des_ede3_cbc(libs.first->resolve("EVP_des_ede3_cbc"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_des_ede3_cbc = _q_PTR_EVP_des_ede3_cbc(libs.second->resolve("EVP_des_ede3_cbc"))) | 0-10 |
633 | RESOLVEFUNC(EVP_PKEY_assign) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 633, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_PKEY_assign"); partially evaluated: !(_q_EVP_PKEY_assign = _q_PTR_EVP_PKEY_assign(libs.first->resolve("EVP_PKEY_assign"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_PKEY_assign = _q_PTR_EVP_PKEY_assign(libs.second->resolve("EVP_PKEY_assign"))) | 0-10 |
634 | RESOLVEFUNC(EVP_PKEY_set1_RSA) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 634, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_PKEY_set1_RSA"); partially evaluated: !(_q_EVP_PKEY_set1_RSA = _q_PTR_EVP_PKEY_set1_RSA(libs.first->resolve("EVP_PKEY_set1_RSA"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_PKEY_set1_RSA = _q_PTR_EVP_PKEY_set1_RSA(libs.second->resolve("EVP_PKEY_set1_RSA"))) | 0-10 |
635 | RESOLVEFUNC(EVP_PKEY_set1_DSA) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 635, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_PKEY_set1_DSA"); partially evaluated: !(_q_EVP_PKEY_set1_DSA = _q_PTR_EVP_PKEY_set1_DSA(libs.first->resolve("EVP_PKEY_set1_DSA"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_PKEY_set1_DSA = _q_PTR_EVP_PKEY_set1_DSA(libs.second->resolve("EVP_PKEY_set1_DSA"))) | 0-10 |
636 | RESOLVEFUNC(EVP_PKEY_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 636, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_PKEY_free"); partially evaluated: !(_q_EVP_PKEY_free = _q_PTR_EVP_PKEY_free(libs.first->resolve("EVP_PKEY_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_PKEY_free = _q_PTR_EVP_PKEY_free(libs.second->resolve("EVP_PKEY_free"))) | 0-10 |
637 | RESOLVEFUNC(EVP_PKEY_get1_DSA) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 637, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_PKEY_get1_DSA"); partially evaluated: !(_q_EVP_PKEY_get1_DSA = _q_PTR_EVP_PKEY_get1_DSA(libs.first->resolve("EVP_PKEY_get1_DSA"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_PKEY_get1_DSA = _q_PTR_EVP_PKEY_get1_DSA(libs.second->resolve("EVP_PKEY_get1_DSA"))) | 0-10 |
638 | RESOLVEFUNC(EVP_PKEY_get1_RSA) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 638, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_PKEY_get1_RSA"); partially evaluated: !(_q_EVP_PKEY_get1_RSA = _q_PTR_EVP_PKEY_get1_RSA(libs.first->resolve("EVP_PKEY_get1_RSA"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_PKEY_get1_RSA = _q_PTR_EVP_PKEY_get1_RSA(libs.second->resolve("EVP_PKEY_get1_RSA"))) | 0-10 |
639 | RESOLVEFUNC(EVP_PKEY_new) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 639, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_PKEY_new"); partially evaluated: !(_q_EVP_PKEY_new = _q_PTR_EVP_PKEY_new(libs.first->resolve("EVP_PKEY_new"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_PKEY_new = _q_PTR_EVP_PKEY_new(libs.second->resolve("EVP_PKEY_new"))) | 0-10 |
640 | RESOLVEFUNC(EVP_PKEY_type) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 640, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""EVP_PKEY_type"); partially evaluated: !(_q_EVP_PKEY_type = _q_PTR_EVP_PKEY_type(libs.first->resolve("EVP_PKEY_type"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_EVP_PKEY_type = _q_PTR_EVP_PKEY_type(libs.second->resolve("EVP_PKEY_type"))) | 0-10 |
641 | RESOLVEFUNC(OBJ_nid2sn) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 641, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""OBJ_nid2sn"); partially evaluated: !(_q_OBJ_nid2sn = _q_PTR_OBJ_nid2sn(libs.first->resolve("OBJ_nid2sn"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_OBJ_nid2sn = _q_PTR_OBJ_nid2sn(libs.second->resolve("OBJ_nid2sn"))) | 0-10 |
642 | RESOLVEFUNC(OBJ_nid2ln) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 642, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""OBJ_nid2ln"); partially evaluated: !(_q_OBJ_nid2ln = _q_PTR_OBJ_nid2ln(libs.first->resolve("OBJ_nid2ln"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_OBJ_nid2ln = _q_PTR_OBJ_nid2ln(libs.second->resolve("OBJ_nid2ln"))) | 0-10 |
643 | RESOLVEFUNC(i2t_ASN1_OBJECT) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 643, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""i2t_ASN1_OBJECT"); partially evaluated: !(_q_i2t_ASN1_OBJECT = _q_PTR_i2t_ASN1_OBJECT(libs.first->resolve("i2t_ASN1_OBJECT"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_i2t_ASN1_OBJECT = _q_PTR_i2t_ASN1_OBJECT(libs.second->resolve("i2t_ASN1_OBJECT"))) | 0-10 |
644 | RESOLVEFUNC(OBJ_obj2txt) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 644, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""OBJ_obj2txt"); partially evaluated: !(_q_OBJ_obj2txt = _q_PTR_OBJ_obj2txt(libs.first->resolve("OBJ_obj2txt"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_OBJ_obj2txt = _q_PTR_OBJ_obj2txt(libs.second->resolve("OBJ_obj2txt"))) | 0-10 |
645 | RESOLVEFUNC(OBJ_obj2nid) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 645, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""OBJ_obj2nid"); partially evaluated: !(_q_OBJ_obj2nid = _q_PTR_OBJ_obj2nid(libs.first->resolve("OBJ_obj2nid"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_OBJ_obj2nid = _q_PTR_OBJ_obj2nid(libs.second->resolve("OBJ_obj2nid"))) | 0-10 |
646 | #ifdef SSLEAY_MACROS // ### verify | - |
647 | RESOLVEFUNC(PEM_ASN1_read_bio) | - |
648 | #else | - |
649 | RESOLVEFUNC(PEM_read_bio_DSAPrivateKey) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 649, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""PEM_read_bio_DSAPrivateKey"); partially evaluated: !(_q_PEM_read_bio_DSAPrivateKey = _q_PTR_PEM_read_bio_DSAPrivateKey(libs.first->resolve("PEM_read_bio_DSAPrivateKey"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_PEM_read_bio_DSAPrivateKey = _q_PTR_PEM_read_bio_DSAPrivateKey(libs.second->resolve("PEM_read_bio_DSAPrivateKey"))) | 0-10 |
650 | RESOLVEFUNC(PEM_read_bio_RSAPrivateKey) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 650, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""PEM_read_bio_RSAPrivateKey"); partially evaluated: !(_q_PEM_read_bio_RSAPrivateKey = _q_PTR_PEM_read_bio_RSAPrivateKey(libs.first->resolve("PEM_read_bio_RSAPrivateKey"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_PEM_read_bio_RSAPrivateKey = _q_PTR_PEM_read_bio_RSAPrivateKey(libs.second->resolve("PEM_read_bio_RSAPrivateKey"))) | 0-10 |
651 | RESOLVEFUNC(PEM_write_bio_DSAPrivateKey) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 651, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""PEM_write_bio_DSAPrivateKey"); partially evaluated: !(_q_PEM_write_bio_DSAPrivateKey = _q_PTR_PEM_write_bio_DSAPrivateKey(libs.first->resolve("PEM_write_bio_DSAPrivateKey"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_PEM_write_bio_DSAPrivateKey = _q_PTR_PEM_write_bio_DSAPrivateKey(libs.second->resolve("PEM_write_bio_DSAPrivateKey"))) | 0-10 |
652 | RESOLVEFUNC(PEM_write_bio_RSAPrivateKey) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 652, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""PEM_write_bio_RSAPrivateKey"); partially evaluated: !(_q_PEM_write_bio_RSAPrivateKey = _q_PTR_PEM_write_bio_RSAPrivateKey(libs.first->resolve("PEM_write_bio_RSAPrivateKey"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_PEM_write_bio_RSAPrivateKey = _q_PTR_PEM_write_bio_RSAPrivateKey(libs.second->resolve("PEM_write_bio_RSAPrivateKey"))) | 0-10 |
653 | #endif | - |
654 | RESOLVEFUNC(PEM_read_bio_DSA_PUBKEY) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 654, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""PEM_read_bio_DSA_PUBKEY"); partially evaluated: !(_q_PEM_read_bio_DSA_PUBKEY = _q_PTR_PEM_read_bio_DSA_PUBKEY(libs.first->resolve("PEM_read_bio_DSA_PUBKEY"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_PEM_read_bio_DSA_PUBKEY = _q_PTR_PEM_read_bio_DSA_PUBKEY(libs.second->resolve("PEM_read_bio_DSA_PUBKEY"))) | 0-10 |
655 | RESOLVEFUNC(PEM_read_bio_RSA_PUBKEY) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 655, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""PEM_read_bio_RSA_PUBKEY"); partially evaluated: !(_q_PEM_read_bio_RSA_PUBKEY = _q_PTR_PEM_read_bio_RSA_PUBKEY(libs.first->resolve("PEM_read_bio_RSA_PUBKEY"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_PEM_read_bio_RSA_PUBKEY = _q_PTR_PEM_read_bio_RSA_PUBKEY(libs.second->resolve("PEM_read_bio_RSA_PUBKEY"))) | 0-10 |
656 | RESOLVEFUNC(PEM_write_bio_DSA_PUBKEY) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 656, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""PEM_write_bio_DSA_PUBKEY"); partially evaluated: !(_q_PEM_write_bio_DSA_PUBKEY = _q_PTR_PEM_write_bio_DSA_PUBKEY(libs.first->resolve("PEM_write_bio_DSA_PUBKEY"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_PEM_write_bio_DSA_PUBKEY = _q_PTR_PEM_write_bio_DSA_PUBKEY(libs.second->resolve("PEM_write_bio_DSA_PUBKEY"))) | 0-10 |
657 | RESOLVEFUNC(PEM_write_bio_RSA_PUBKEY) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 657, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""PEM_write_bio_RSA_PUBKEY"); partially evaluated: !(_q_PEM_write_bio_RSA_PUBKEY = _q_PTR_PEM_write_bio_RSA_PUBKEY(libs.first->resolve("PEM_write_bio_RSA_PUBKEY"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_PEM_write_bio_RSA_PUBKEY = _q_PTR_PEM_write_bio_RSA_PUBKEY(libs.second->resolve("PEM_write_bio_RSA_PUBKEY"))) | 0-10 |
658 | RESOLVEFUNC(RAND_seed) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 658, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""RAND_seed"); partially evaluated: !(_q_RAND_seed = _q_PTR_RAND_seed(libs.first->resolve("RAND_seed"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_RAND_seed = _q_PTR_RAND_seed(libs.second->resolve("RAND_seed"))) | 0-10 |
659 | RESOLVEFUNC(RAND_status) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 659, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""RAND_status"); partially evaluated: !(_q_RAND_status = _q_PTR_RAND_status(libs.first->resolve("RAND_status"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_RAND_status = _q_PTR_RAND_status(libs.second->resolve("RAND_status"))) | 0-10 |
660 | RESOLVEFUNC(RSA_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 660, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""RSA_free"); partially evaluated: !(_q_RSA_free = _q_PTR_RSA_free(libs.first->resolve("RSA_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_RSA_free = _q_PTR_RSA_free(libs.second->resolve("RSA_free"))) | 0-10 |
661 | RESOLVEFUNC(sk_new_null) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 661, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""sk_new_null"); partially evaluated: !(_q_sk_new_null = _q_PTR_sk_new_null(libs.first->resolve("sk_new_null"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_sk_new_null = _q_PTR_sk_new_null(libs.second->resolve("sk_new_null"))) | 0-10 |
662 | RESOLVEFUNC(sk_push) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 662, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""sk_push"); partially evaluated: !(_q_sk_push = _q_PTR_sk_push(libs.first->resolve("sk_push"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_sk_push = _q_PTR_sk_push(libs.second->resolve("sk_push"))) | 0-10 |
663 | RESOLVEFUNC(sk_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 663, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""sk_free"); partially evaluated: !(_q_sk_free = _q_PTR_sk_free(libs.first->resolve("sk_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_sk_free = _q_PTR_sk_free(libs.second->resolve("sk_free"))) | 0-10 |
664 | RESOLVEFUNC(sk_num) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 664, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""sk_num"); partially evaluated: !(_q_sk_num = _q_PTR_sk_num(libs.first->resolve("sk_num"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_sk_num = _q_PTR_sk_num(libs.second->resolve("sk_num"))) | 0-10 |
665 | RESOLVEFUNC(sk_pop_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 665, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""sk_pop_free"); partially evaluated: !(_q_sk_pop_free = _q_PTR_sk_pop_free(libs.first->resolve("sk_pop_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_sk_pop_free = _q_PTR_sk_pop_free(libs.second->resolve("sk_pop_free"))) | 0-10 |
666 | RESOLVEFUNC(sk_value) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 666, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""sk_value"); partially evaluated: !(_q_sk_value = _q_PTR_sk_value(libs.first->resolve("sk_value"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_sk_value = _q_PTR_sk_value(libs.second->resolve("sk_value"))) | 0-10 |
667 | RESOLVEFUNC(SSL_CIPHER_description) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 667, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CIPHER_description"); partially evaluated: !(_q_SSL_CIPHER_description = _q_PTR_SSL_CIPHER_description(libs.first->resolve("SSL_CIPHER_description"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CIPHER_description = _q_PTR_SSL_CIPHER_description(libs.second->resolve("SSL_CIPHER_description"))) | 0-10 |
668 | RESOLVEFUNC(SSL_CTX_check_private_key) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 668, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_check_private_key"); partially evaluated: !(_q_SSL_CTX_check_private_key = _q_PTR_SSL_CTX_check_private_key(libs.first->resolve("SSL_CTX_check_private_key"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_check_private_key = _q_PTR_SSL_CTX_check_private_key(libs.second->resolve("SSL_CTX_check_private_key"))) | 0-10 |
669 | RESOLVEFUNC(SSL_CTX_ctrl) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 669, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_ctrl"); partially evaluated: !(_q_SSL_CTX_ctrl = _q_PTR_SSL_CTX_ctrl(libs.first->resolve("SSL_CTX_ctrl"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_ctrl = _q_PTR_SSL_CTX_ctrl(libs.second->resolve("SSL_CTX_ctrl"))) | 0-10 |
670 | RESOLVEFUNC(SSL_CTX_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 670, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_free"); partially evaluated: !(_q_SSL_CTX_free = _q_PTR_SSL_CTX_free(libs.first->resolve("SSL_CTX_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_free = _q_PTR_SSL_CTX_free(libs.second->resolve("SSL_CTX_free"))) | 0-10 |
671 | RESOLVEFUNC(SSL_CTX_new) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 671, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_new"); partially evaluated: !(_q_SSL_CTX_new = _q_PTR_SSL_CTX_new(libs.first->resolve("SSL_CTX_new"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_new = _q_PTR_SSL_CTX_new(libs.second->resolve("SSL_CTX_new"))) | 0-10 |
672 | RESOLVEFUNC(SSL_CTX_set_cipher_list) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 672, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_set_cipher_list"); partially evaluated: !(_q_SSL_CTX_set_cipher_list = _q_PTR_SSL_CTX_set_cipher_list(libs.first->resolve("SSL_CTX_set_cipher_list"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_set_cipher_list = _q_PTR_SSL_CTX_set_cipher_list(libs.second->resolve("SSL_CTX_set_cipher_list"))) | 0-10 |
673 | RESOLVEFUNC(SSL_CTX_set_default_verify_paths) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 673, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_set_default_verify_paths"); partially evaluated: !(_q_SSL_CTX_set_default_verify_paths = _q_PTR_SSL_CTX_set_default_verify_paths(libs.first->resolve("SSL_CTX_set_default_verify_paths"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_set_default_verify_paths = _q_PTR_SSL_CTX_set_default_verify_paths(libs.second->resolve("SSL_CTX_set_default_verify_paths"))) | 0-10 |
674 | RESOLVEFUNC(SSL_CTX_set_verify) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 674, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_set_verify"); partially evaluated: !(_q_SSL_CTX_set_verify = _q_PTR_SSL_CTX_set_verify(libs.first->resolve("SSL_CTX_set_verify"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_set_verify = _q_PTR_SSL_CTX_set_verify(libs.second->resolve("SSL_CTX_set_verify"))) | 0-10 |
675 | RESOLVEFUNC(SSL_CTX_set_verify_depth) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 675, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_set_verify_depth"); partially evaluated: !(_q_SSL_CTX_set_verify_depth = _q_PTR_SSL_CTX_set_verify_depth(libs.first->resolve("SSL_CTX_set_verify_depth"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_set_verify_depth = _q_PTR_SSL_CTX_set_verify_depth(libs.second->resolve("SSL_CTX_set_verify_depth"))) | 0-10 |
676 | RESOLVEFUNC(SSL_CTX_use_certificate) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 676, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_use_certificate"); partially evaluated: !(_q_SSL_CTX_use_certificate = _q_PTR_SSL_CTX_use_certificate(libs.first->resolve("SSL_CTX_use_certificate"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_use_certificate = _q_PTR_SSL_CTX_use_certificate(libs.second->resolve("SSL_CTX_use_certificate"))) | 0-10 |
677 | RESOLVEFUNC(SSL_CTX_use_certificate_file) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 677, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_use_certificate_file"); partially evaluated: !(_q_SSL_CTX_use_certificate_file = _q_PTR_SSL_CTX_use_certificate_file(libs.first->resolve("SSL_CTX_use_certificate_file"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_use_certificate_file = _q_PTR_SSL_CTX_use_certificate_file(libs.second->resolve("SSL_CTX_use_certificate_file"))) | 0-10 |
678 | RESOLVEFUNC(SSL_CTX_use_PrivateKey) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 678, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_use_PrivateKey"); partially evaluated: !(_q_SSL_CTX_use_PrivateKey = _q_PTR_SSL_CTX_use_PrivateKey(libs.first->resolve("SSL_CTX_use_PrivateKey"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_use_PrivateKey = _q_PTR_SSL_CTX_use_PrivateKey(libs.second->resolve("SSL_CTX_use_PrivateKey"))) | 0-10 |
679 | RESOLVEFUNC(SSL_CTX_use_RSAPrivateKey) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 679, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_use_RSAPrivateKey"); partially evaluated: !(_q_SSL_CTX_use_RSAPrivateKey = _q_PTR_SSL_CTX_use_RSAPrivateKey(libs.first->resolve("SSL_CTX_use_RSAPrivateKey"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_use_RSAPrivateKey = _q_PTR_SSL_CTX_use_RSAPrivateKey(libs.second->resolve("SSL_CTX_use_RSAPrivateKey"))) | 0-10 |
680 | RESOLVEFUNC(SSL_CTX_use_PrivateKey_file) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 680, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_use_PrivateKey_file"); partially evaluated: !(_q_SSL_CTX_use_PrivateKey_file = _q_PTR_SSL_CTX_use_PrivateKey_file(libs.first->resolve("SSL_CTX_use_PrivateKey_file"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_use_PrivateKey_file = _q_PTR_SSL_CTX_use_PrivateKey_file(libs.second->resolve("SSL_CTX_use_PrivateKey_file"))) | 0-10 |
681 | RESOLVEFUNC(SSL_accept) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 681, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_accept"); partially evaluated: !(_q_SSL_accept = _q_PTR_SSL_accept(libs.first->resolve("SSL_accept"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_accept = _q_PTR_SSL_accept(libs.second->resolve("SSL_accept"))) | 0-10 |
682 | RESOLVEFUNC(SSL_clear) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 682, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_clear"); partially evaluated: !(_q_SSL_clear = _q_PTR_SSL_clear(libs.first->resolve("SSL_clear"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_clear = _q_PTR_SSL_clear(libs.second->resolve("SSL_clear"))) | 0-10 |
683 | RESOLVEFUNC(SSL_connect) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 683, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_connect"); partially evaluated: !(_q_SSL_connect = _q_PTR_SSL_connect(libs.first->resolve("SSL_connect"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_connect = _q_PTR_SSL_connect(libs.second->resolve("SSL_connect"))) | 0-10 |
684 | RESOLVEFUNC(SSL_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 684, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_free"); partially evaluated: !(_q_SSL_free = _q_PTR_SSL_free(libs.first->resolve("SSL_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_free = _q_PTR_SSL_free(libs.second->resolve("SSL_free"))) | 0-10 |
685 | RESOLVEFUNC(SSL_get_ciphers) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 685, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_get_ciphers"); partially evaluated: !(_q_SSL_get_ciphers = _q_PTR_SSL_get_ciphers(libs.first->resolve("SSL_get_ciphers"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_get_ciphers = _q_PTR_SSL_get_ciphers(libs.second->resolve("SSL_get_ciphers"))) | 0-10 |
686 | RESOLVEFUNC(SSL_get_current_cipher) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 686, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_get_current_cipher"); partially evaluated: !(_q_SSL_get_current_cipher = _q_PTR_SSL_get_current_cipher(libs.first->resolve("SSL_get_current_cipher"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_get_current_cipher = _q_PTR_SSL_get_current_cipher(libs.second->resolve("SSL_get_current_cipher"))) | 0-10 |
687 | RESOLVEFUNC(SSL_get_error) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 687, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_get_error"); partially evaluated: !(_q_SSL_get_error = _q_PTR_SSL_get_error(libs.first->resolve("SSL_get_error"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_get_error = _q_PTR_SSL_get_error(libs.second->resolve("SSL_get_error"))) | 0-10 |
688 | RESOLVEFUNC(SSL_get_peer_cert_chain) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 688, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_get_peer_cert_chain"); partially evaluated: !(_q_SSL_get_peer_cert_chain = _q_PTR_SSL_get_peer_cert_chain(libs.first->resolve("SSL_get_peer_cert_chain"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_get_peer_cert_chain = _q_PTR_SSL_get_peer_cert_chain(libs.second->resolve("SSL_get_peer_cert_chain"))) | 0-10 |
689 | RESOLVEFUNC(SSL_get_peer_certificate) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 689, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_get_peer_certificate"); partially evaluated: !(_q_SSL_get_peer_certificate = _q_PTR_SSL_get_peer_certificate(libs.first->resolve("SSL_get_peer_certificate"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_get_peer_certificate = _q_PTR_SSL_get_peer_certificate(libs.second->resolve("SSL_get_peer_certificate"))) | 0-10 |
690 | RESOLVEFUNC(SSL_get_verify_result) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 690, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_get_verify_result"); partially evaluated: !(_q_SSL_get_verify_result = _q_PTR_SSL_get_verify_result(libs.first->resolve("SSL_get_verify_result"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_get_verify_result = _q_PTR_SSL_get_verify_result(libs.second->resolve("SSL_get_verify_result"))) | 0-10 |
691 | RESOLVEFUNC(SSL_library_init) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 691, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_library_init"); partially evaluated: !(_q_SSL_library_init = _q_PTR_SSL_library_init(libs.first->resolve("SSL_library_init"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_library_init = _q_PTR_SSL_library_init(libs.second->resolve("SSL_library_init"))) | 0-10 |
692 | RESOLVEFUNC(SSL_load_error_strings) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 692, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_load_error_strings"); partially evaluated: !(_q_SSL_load_error_strings = _q_PTR_SSL_load_error_strings(libs.first->resolve("SSL_load_error_strings"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_load_error_strings = _q_PTR_SSL_load_error_strings(libs.second->resolve("SSL_load_error_strings"))) | 0-10 |
693 | RESOLVEFUNC(SSL_new) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 693, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_new"); partially evaluated: !(_q_SSL_new = _q_PTR_SSL_new(libs.first->resolve("SSL_new"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_new = _q_PTR_SSL_new(libs.second->resolve("SSL_new"))) | 0-10 |
694 | #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) | - |
695 | RESOLVEFUNC(SSL_ctrl) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 695, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_ctrl"); partially evaluated: !(_q_SSL_ctrl = _q_PTR_SSL_ctrl(libs.first->resolve("SSL_ctrl"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_ctrl = _q_PTR_SSL_ctrl(libs.second->resolve("SSL_ctrl"))) | 0-10 |
696 | #endif | - |
697 | RESOLVEFUNC(SSL_read) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 697, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_read"); partially evaluated: !(_q_SSL_read = _q_PTR_SSL_read(libs.first->resolve("SSL_read"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_read = _q_PTR_SSL_read(libs.second->resolve("SSL_read"))) | 0-10 |
698 | RESOLVEFUNC(SSL_set_accept_state) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 698, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_set_accept_state"); partially evaluated: !(_q_SSL_set_accept_state = _q_PTR_SSL_set_accept_state(libs.first->resolve("SSL_set_accept_state"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_set_accept_state = _q_PTR_SSL_set_accept_state(libs.second->resolve("SSL_set_accept_state"))) | 0-10 |
699 | RESOLVEFUNC(SSL_set_bio) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 699, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_set_bio"); partially evaluated: !(_q_SSL_set_bio = _q_PTR_SSL_set_bio(libs.first->resolve("SSL_set_bio"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_set_bio = _q_PTR_SSL_set_bio(libs.second->resolve("SSL_set_bio"))) | 0-10 |
700 | RESOLVEFUNC(SSL_set_connect_state) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 700, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_set_connect_state"); partially evaluated: !(_q_SSL_set_connect_state = _q_PTR_SSL_set_connect_state(libs.first->resolve("SSL_set_connect_state"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_set_connect_state = _q_PTR_SSL_set_connect_state(libs.second->resolve("SSL_set_connect_state"))) | 0-10 |
701 | RESOLVEFUNC(SSL_shutdown) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 701, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_shutdown"); partially evaluated: !(_q_SSL_shutdown = _q_PTR_SSL_shutdown(libs.first->resolve("SSL_shutdown"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_shutdown = _q_PTR_SSL_shutdown(libs.second->resolve("SSL_shutdown"))) | 0-10 |
702 | RESOLVEFUNC(SSL_write) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 702, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_write"); partially evaluated: !(_q_SSL_write = _q_PTR_SSL_write(libs.first->resolve("SSL_write"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_write = _q_PTR_SSL_write(libs.second->resolve("SSL_write"))) | 0-10 |
703 | #ifndef OPENSSL_NO_SSL2 | - |
704 | RESOLVEFUNC(SSLv2_client_method) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 704, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSLv2_client_method"); partially evaluated: !(_q_SSLv2_client_method = _q_PTR_SSLv2_client_method(libs.first->resolve("SSLv2_client_method"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSLv2_client_method = _q_PTR_SSLv2_client_method(libs.second->resolve("SSLv2_client_method"))) | 0-10 |
705 | #endif | - |
706 | RESOLVEFUNC(SSLv3_client_method) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 706, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSLv3_client_method"); partially evaluated: !(_q_SSLv3_client_method = _q_PTR_SSLv3_client_method(libs.first->resolve("SSLv3_client_method"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSLv3_client_method = _q_PTR_SSLv3_client_method(libs.second->resolve("SSLv3_client_method"))) | 0-10 |
707 | RESOLVEFUNC(SSLv23_client_method) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 707, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSLv23_client_method"); partially evaluated: !(_q_SSLv23_client_method = _q_PTR_SSLv23_client_method(libs.first->resolve("SSLv23_client_method"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSLv23_client_method = _q_PTR_SSLv23_client_method(libs.second->resolve("SSLv23_client_method"))) | 0-10 |
708 | RESOLVEFUNC(TLSv1_client_method) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 708, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""TLSv1_client_method"); partially evaluated: !(_q_TLSv1_client_method = _q_PTR_TLSv1_client_method(libs.first->resolve("TLSv1_client_method"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_TLSv1_client_method = _q_PTR_TLSv1_client_method(libs.second->resolve("TLSv1_client_method"))) | 0-10 |
709 | #if OPENSSL_VERSION_NUMBER >= 0x10001000L | - |
710 | RESOLVEFUNC(TLSv1_1_client_method) | - |
711 | RESOLVEFUNC(TLSv1_2_client_method) | - |
712 | #endif | - |
713 | #ifndef OPENSSL_NO_SSL2 | - |
714 | RESOLVEFUNC(SSLv2_server_method) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 714, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSLv2_server_method"); partially evaluated: !(_q_SSLv2_server_method = _q_PTR_SSLv2_server_method(libs.first->resolve("SSLv2_server_method"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSLv2_server_method = _q_PTR_SSLv2_server_method(libs.second->resolve("SSLv2_server_method"))) | 0-10 |
715 | #endif | - |
716 | RESOLVEFUNC(SSLv3_server_method) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 716, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSLv3_server_method"); partially evaluated: !(_q_SSLv3_server_method = _q_PTR_SSLv3_server_method(libs.first->resolve("SSLv3_server_method"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSLv3_server_method = _q_PTR_SSLv3_server_method(libs.second->resolve("SSLv3_server_method"))) | 0-10 |
717 | RESOLVEFUNC(SSLv23_server_method) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 717, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSLv23_server_method"); partially evaluated: !(_q_SSLv23_server_method = _q_PTR_SSLv23_server_method(libs.first->resolve("SSLv23_server_method"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSLv23_server_method = _q_PTR_SSLv23_server_method(libs.second->resolve("SSLv23_server_method"))) | 0-10 |
718 | RESOLVEFUNC(TLSv1_server_method) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 718, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""TLSv1_server_method"); partially evaluated: !(_q_TLSv1_server_method = _q_PTR_TLSv1_server_method(libs.first->resolve("TLSv1_server_method"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_TLSv1_server_method = _q_PTR_TLSv1_server_method(libs.second->resolve("TLSv1_server_method"))) | 0-10 |
719 | #if OPENSSL_VERSION_NUMBER >= 0x10001000L | - |
720 | RESOLVEFUNC(TLSv1_1_server_method) | - |
721 | RESOLVEFUNC(TLSv1_2_server_method) | - |
722 | #endif | - |
723 | RESOLVEFUNC(X509_NAME_entry_count) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 723, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_NAME_entry_count"); partially evaluated: !(_q_X509_NAME_entry_count = _q_PTR_X509_NAME_entry_count(libs.first->resolve("X509_NAME_entry_count"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_NAME_entry_count = _q_PTR_X509_NAME_entry_count(libs.second->resolve("X509_NAME_entry_count"))) | 0-10 |
724 | RESOLVEFUNC(X509_NAME_get_entry) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 724, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_NAME_get_entry"); partially evaluated: !(_q_X509_NAME_get_entry = _q_PTR_X509_NAME_get_entry(libs.first->resolve("X509_NAME_get_entry"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_NAME_get_entry = _q_PTR_X509_NAME_get_entry(libs.second->resolve("X509_NAME_get_entry"))) | 0-10 |
725 | RESOLVEFUNC(X509_NAME_ENTRY_get_data) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 725, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_NAME_ENTRY_get_data"); partially evaluated: !(_q_X509_NAME_ENTRY_get_data = _q_PTR_X509_NAME_ENTRY_get_data(libs.first->resolve("X509_NAME_ENTRY_get_data"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_NAME_ENTRY_get_data = _q_PTR_X509_NAME_ENTRY_get_data(libs.second->resolve("X509_NAME_ENTRY_get_data"))) | 0-10 |
726 | RESOLVEFUNC(X509_NAME_ENTRY_get_object) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 726, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_NAME_ENTRY_get_object"); partially evaluated: !(_q_X509_NAME_ENTRY_get_object = _q_PTR_X509_NAME_ENTRY_get_object(libs.first->resolve("X509_NAME_ENTRY_get_object"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_NAME_ENTRY_get_object = _q_PTR_X509_NAME_ENTRY_get_object(libs.second->resolve("X509_NAME_ENTRY_get_object"))) | 0-10 |
727 | RESOLVEFUNC(X509_PUBKEY_get) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 727, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_PUBKEY_get"); partially evaluated: !(_q_X509_PUBKEY_get = _q_PTR_X509_PUBKEY_get(libs.first->resolve("X509_PUBKEY_get"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_PUBKEY_get = _q_PTR_X509_PUBKEY_get(libs.second->resolve("X509_PUBKEY_get"))) | 0-10 |
728 | RESOLVEFUNC(X509_STORE_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 728, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_free"); partially evaluated: !(_q_X509_STORE_free = _q_PTR_X509_STORE_free(libs.first->resolve("X509_STORE_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_free = _q_PTR_X509_STORE_free(libs.second->resolve("X509_STORE_free"))) | 0-10 |
729 | RESOLVEFUNC(X509_STORE_new) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 729, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_new"); partially evaluated: !(_q_X509_STORE_new = _q_PTR_X509_STORE_new(libs.first->resolve("X509_STORE_new"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_new = _q_PTR_X509_STORE_new(libs.second->resolve("X509_STORE_new"))) | 0-10 |
730 | RESOLVEFUNC(X509_STORE_add_cert) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 730, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_add_cert"); partially evaluated: !(_q_X509_STORE_add_cert = _q_PTR_X509_STORE_add_cert(libs.first->resolve("X509_STORE_add_cert"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_add_cert = _q_PTR_X509_STORE_add_cert(libs.second->resolve("X509_STORE_add_cert"))) | 0-10 |
731 | RESOLVEFUNC(X509_STORE_CTX_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 731, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_CTX_free"); partially evaluated: !(_q_X509_STORE_CTX_free = _q_PTR_X509_STORE_CTX_free(libs.first->resolve("X509_STORE_CTX_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_CTX_free = _q_PTR_X509_STORE_CTX_free(libs.second->resolve("X509_STORE_CTX_free"))) | 0-10 |
732 | RESOLVEFUNC(X509_STORE_CTX_init) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 732, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_CTX_init"); partially evaluated: !(_q_X509_STORE_CTX_init = _q_PTR_X509_STORE_CTX_init(libs.first->resolve("X509_STORE_CTX_init"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_CTX_init = _q_PTR_X509_STORE_CTX_init(libs.second->resolve("X509_STORE_CTX_init"))) | 0-10 |
733 | RESOLVEFUNC(X509_STORE_CTX_new) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 733, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_CTX_new"); partially evaluated: !(_q_X509_STORE_CTX_new = _q_PTR_X509_STORE_CTX_new(libs.first->resolve("X509_STORE_CTX_new"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_CTX_new = _q_PTR_X509_STORE_CTX_new(libs.second->resolve("X509_STORE_CTX_new"))) | 0-10 |
734 | RESOLVEFUNC(X509_STORE_CTX_set_purpose) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 734, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_CTX_set_purpose"); partially evaluated: !(_q_X509_STORE_CTX_set_purpose = _q_PTR_X509_STORE_CTX_set_purpose(libs.first->resolve("X509_STORE_CTX_set_purpose"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_CTX_set_purpose = _q_PTR_X509_STORE_CTX_set_purpose(libs.second->resolve("X509_STORE_CTX_set_purpose"))) | 0-10 |
735 | RESOLVEFUNC(X509_STORE_CTX_get_error) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 735, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_CTX_get_error"); partially evaluated: !(_q_X509_STORE_CTX_get_error = _q_PTR_X509_STORE_CTX_get_error(libs.first->resolve("X509_STORE_CTX_get_error"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_CTX_get_error = _q_PTR_X509_STORE_CTX_get_error(libs.second->resolve("X509_STORE_CTX_get_error"))) | 0-10 |
736 | RESOLVEFUNC(X509_STORE_CTX_get_error_depth) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 736, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_CTX_get_error_depth"); partially evaluated: !(_q_X509_STORE_CTX_get_error_depth = _q_PTR_X509_STORE_CTX_get_error_depth(libs.first->resolve("X509_STORE_CTX_get_error_depth"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_CTX_get_error_depth = _q_PTR_X509_STORE_CTX_get_error_depth(libs.second->resolve("X509_STORE_CTX_get_error_depth"))) | 0-10 |
737 | RESOLVEFUNC(X509_STORE_CTX_get_current_cert) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 737, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_CTX_get_current_cert"); partially evaluated: !(_q_X509_STORE_CTX_get_current_cert = _q_PTR_X509_STORE_CTX_get_current_cert(libs.first->resolve("X509_STORE_CTX_get_current_cert"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_CTX_get_current_cert = _q_PTR_X509_STORE_CTX_get_current_cert(libs.second->resolve("X509_STORE_CTX_get_current_cert"))) | 0-10 |
738 | RESOLVEFUNC(X509_STORE_CTX_get_chain) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 738, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_STORE_CTX_get_chain"); partially evaluated: !(_q_X509_STORE_CTX_get_chain = _q_PTR_X509_STORE_CTX_get_chain(libs.first->resolve("X509_STORE_CTX_get_chain"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_STORE_CTX_get_chain = _q_PTR_X509_STORE_CTX_get_chain(libs.second->resolve("X509_STORE_CTX_get_chain"))) | 0-10 |
739 | RESOLVEFUNC(X509_cmp) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 739, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_cmp"); partially evaluated: !(_q_X509_cmp = _q_PTR_X509_cmp(libs.first->resolve("X509_cmp"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_cmp = _q_PTR_X509_cmp(libs.second->resolve("X509_cmp"))) | 0-10 |
740 | #ifndef SSLEAY_MACROS | - |
741 | RESOLVEFUNC(X509_dup) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 741, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_dup"); partially evaluated: !(_q_X509_dup = _q_PTR_X509_dup(libs.first->resolve("X509_dup"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_dup = _q_PTR_X509_dup(libs.second->resolve("X509_dup"))) | 0-10 |
742 | #endif | - |
743 | RESOLVEFUNC(X509_print) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 743, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_print"); partially evaluated: !(_q_X509_print = _q_PTR_X509_print(libs.first->resolve("X509_print"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_print = _q_PTR_X509_print(libs.second->resolve("X509_print"))) | 0-10 |
744 | RESOLVEFUNC(X509_EXTENSION_get_object) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 744, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_EXTENSION_get_object"); partially evaluated: !(_q_X509_EXTENSION_get_object = _q_PTR_X509_EXTENSION_get_object(libs.first->resolve("X509_EXTENSION_get_object"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_EXTENSION_get_object = _q_PTR_X509_EXTENSION_get_object(libs.second->resolve("X509_EXTENSION_get_object"))) | 0-10 |
745 | RESOLVEFUNC(X509_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 745, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_free"); partially evaluated: !(_q_X509_free = _q_PTR_X509_free(libs.first->resolve("X509_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_free = _q_PTR_X509_free(libs.second->resolve("X509_free"))) | 0-10 |
746 | RESOLVEFUNC(X509_get_ext) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 746, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_get_ext"); partially evaluated: !(_q_X509_get_ext = _q_PTR_X509_get_ext(libs.first->resolve("X509_get_ext"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_get_ext = _q_PTR_X509_get_ext(libs.second->resolve("X509_get_ext"))) | 0-10 |
747 | RESOLVEFUNC(X509_get_ext_count) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 747, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_get_ext_count"); partially evaluated: !(_q_X509_get_ext_count = _q_PTR_X509_get_ext_count(libs.first->resolve("X509_get_ext_count"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_get_ext_count = _q_PTR_X509_get_ext_count(libs.second->resolve("X509_get_ext_count"))) | 0-10 |
748 | RESOLVEFUNC(X509_get_ext_d2i) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 748, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_get_ext_d2i"); partially evaluated: !(_q_X509_get_ext_d2i = _q_PTR_X509_get_ext_d2i(libs.first->resolve("X509_get_ext_d2i"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_get_ext_d2i = _q_PTR_X509_get_ext_d2i(libs.second->resolve("X509_get_ext_d2i"))) | 0-10 |
749 | RESOLVEFUNC(X509V3_EXT_get) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 749, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509V3_EXT_get"); partially evaluated: !(_q_X509V3_EXT_get = _q_PTR_X509V3_EXT_get(libs.first->resolve("X509V3_EXT_get"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509V3_EXT_get = _q_PTR_X509V3_EXT_get(libs.second->resolve("X509V3_EXT_get"))) | 0-10 |
750 | RESOLVEFUNC(X509V3_EXT_d2i) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 750, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509V3_EXT_d2i"); partially evaluated: !(_q_X509V3_EXT_d2i = _q_PTR_X509V3_EXT_d2i(libs.first->resolve("X509V3_EXT_d2i"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509V3_EXT_d2i = _q_PTR_X509V3_EXT_d2i(libs.second->resolve("X509V3_EXT_d2i"))) | 0-10 |
751 | RESOLVEFUNC(X509_EXTENSION_get_critical) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 751, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_EXTENSION_get_critical"); partially evaluated: !(_q_X509_EXTENSION_get_critical = _q_PTR_X509_EXTENSION_get_critical(libs.first->resolve("X509_EXTENSION_get_critical"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_EXTENSION_get_critical = _q_PTR_X509_EXTENSION_get_critical(libs.second->resolve("X509_EXTENSION_get_critical"))) | 0-10 |
752 | RESOLVEFUNC(X509_EXTENSION_get_data) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 752, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_EXTENSION_get_data"); partially evaluated: !(_q_X509_EXTENSION_get_data = _q_PTR_X509_EXTENSION_get_data(libs.first->resolve("X509_EXTENSION_get_data"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_EXTENSION_get_data = _q_PTR_X509_EXTENSION_get_data(libs.second->resolve("X509_EXTENSION_get_data"))) | 0-10 |
753 | RESOLVEFUNC(BASIC_CONSTRAINTS_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 753, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""BASIC_CONSTRAINTS_free"); partially evaluated: !(_q_BASIC_CONSTRAINTS_free = _q_PTR_BASIC_CONSTRAINTS_free(libs.first->resolve("BASIC_CONSTRAINTS_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_BASIC_CONSTRAINTS_free = _q_PTR_BASIC_CONSTRAINTS_free(libs.second->resolve("BASIC_CONSTRAINTS_free"))) | 0-10 |
754 | RESOLVEFUNC(AUTHORITY_KEYID_free) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 754, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""AUTHORITY_KEYID_free"); partially evaluated: !(_q_AUTHORITY_KEYID_free = _q_PTR_AUTHORITY_KEYID_free(libs.first->resolve("AUTHORITY_KEYID_free"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_AUTHORITY_KEYID_free = _q_PTR_AUTHORITY_KEYID_free(libs.second->resolve("AUTHORITY_KEYID_free"))) | 0-10 |
755 | RESOLVEFUNC(ASN1_STRING_print) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 755, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""ASN1_STRING_print"); partially evaluated: !(_q_ASN1_STRING_print = _q_PTR_ASN1_STRING_print(libs.first->resolve("ASN1_STRING_print"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_ASN1_STRING_print = _q_PTR_ASN1_STRING_print(libs.second->resolve("ASN1_STRING_print"))) | 0-10 |
756 | RESOLVEFUNC(X509_get_issuer_name) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 756, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_get_issuer_name"); partially evaluated: !(_q_X509_get_issuer_name = _q_PTR_X509_get_issuer_name(libs.first->resolve("X509_get_issuer_name"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_get_issuer_name = _q_PTR_X509_get_issuer_name(libs.second->resolve("X509_get_issuer_name"))) | 0-10 |
757 | RESOLVEFUNC(X509_get_subject_name) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 757, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_get_subject_name"); partially evaluated: !(_q_X509_get_subject_name = _q_PTR_X509_get_subject_name(libs.first->resolve("X509_get_subject_name"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_get_subject_name = _q_PTR_X509_get_subject_name(libs.second->resolve("X509_get_subject_name"))) | 0-10 |
758 | RESOLVEFUNC(X509_verify_cert) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 758, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""X509_verify_cert"); partially evaluated: !(_q_X509_verify_cert = _q_PTR_X509_verify_cert(libs.first->resolve("X509_verify_cert"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_X509_verify_cert = _q_PTR_X509_verify_cert(libs.second->resolve("X509_verify_cert"))) | 0-10 |
759 | RESOLVEFUNC(d2i_X509) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 759, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""d2i_X509"); partially evaluated: !(_q_d2i_X509 = _q_PTR_d2i_X509(libs.first->resolve("d2i_X509"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_d2i_X509 = _q_PTR_d2i_X509(libs.second->resolve("d2i_X509"))) | 0-10 |
760 | RESOLVEFUNC(i2d_X509) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 760, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""i2d_X509"); partially evaluated: !(_q_i2d_X509 = _q_PTR_i2d_X509(libs.first->resolve("i2d_X509"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_i2d_X509 = _q_PTR_i2d_X509(libs.second->resolve("i2d_X509"))) | 0-10 |
761 | #ifdef SSLEAY_MACROS | - |
762 | RESOLVEFUNC(i2d_DSAPrivateKey) | - |
763 | RESOLVEFUNC(i2d_RSAPrivateKey) | - |
764 | RESOLVEFUNC(d2i_DSAPrivateKey) | - |
765 | RESOLVEFUNC(d2i_RSAPrivateKey) | - |
766 | #endif | - |
767 | RESOLVEFUNC(OPENSSL_add_all_algorithms_noconf) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 767, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""OPENSSL_add_all_algorithms_noconf"); partially evaluated: !(_q_OPENSSL_add_all_algorithms_noconf = _q_PTR_OPENSSL_add_all_algorithms_noconf(libs.first->resolve("OPENSSL_add_all_algorithms_noconf"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_OPENSSL_add_all_algorithms_noconf = _q_PTR_OPENSSL_add_all_algorithms_noconf(libs.second->resolve("OPENSSL_add_all_algorithms_noconf"))) | 0-10 |
768 | RESOLVEFUNC(OPENSSL_add_all_algorithms_conf) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 768, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""OPENSSL_add_all_algorithms_conf"); partially evaluated: !(_q_OPENSSL_add_all_algorithms_conf = _q_PTR_OPENSSL_add_all_algorithms_conf(libs.first->resolve("OPENSSL_add_all_algorithms_conf"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_OPENSSL_add_all_algorithms_conf = _q_PTR_OPENSSL_add_all_algorithms_conf(libs.second->resolve("OPENSSL_add_all_algorithms_conf"))) | 0-10 |
769 | RESOLVEFUNC(SSL_CTX_load_verify_locations) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 769, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSL_CTX_load_verify_locations"); partially evaluated: !(_q_SSL_CTX_load_verify_locations = _q_PTR_SSL_CTX_load_verify_locations(libs.first->resolve("SSL_CTX_load_verify_locations"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSL_CTX_load_verify_locations = _q_PTR_SSL_CTX_load_verify_locations(libs.second->resolve("SSL_CTX_load_verify_locations"))) | 0-10 |
770 | RESOLVEFUNC(SSLeay) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 770, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSLeay"); partially evaluated: !(_q_SSLeay = _q_PTR_SSLeay(libs.first->resolve("SSLeay"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSLeay = _q_PTR_SSLeay(libs.second->resolve("SSLeay"))) | 0-10 |
771 | RESOLVEFUNC(SSLeay_version) never executed: QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 771, __PRETTY_FUNCTION__).warning("QSslSocket: cannot resolve ""SSLeay_version"); partially evaluated: !(_q_SSLeay_version = _q_PTR_SSLeay_version(libs.first->resolve("SSLeay_version"))) no Evaluation Count:0 | yes Evaluation Count:10 |
never evaluated: !(_q_SSLeay_version = _q_PTR_SSLeay_version(libs.second->resolve("SSLeay_version"))) | 0-10 |
772 | | - |
773 | symbolsResolved = true; executed (the execution status of this line is deduced): symbolsResolved = true; | - |
774 | delete libs.first; executed (the execution status of this line is deduced): delete libs.first; | - |
775 | delete libs.second; executed (the execution status of this line is deduced): delete libs.second; | - |
776 | return true; executed: return true; Execution Count:10 | 10 |
777 | } | - |
778 | #endif // QT_NO_LIBRARY | - |
779 | | - |
780 | #else // !defined QT_LINKED_OPENSSL | - |
781 | | - |
782 | bool q_resolveOpenSslSymbols() | - |
783 | { | - |
784 | #ifdef QT_NO_OPENSSL | - |
785 | return false; | - |
786 | #endif | - |
787 | return true; | - |
788 | } | - |
789 | #endif // !defined QT_LINKED_OPENSSL | - |
790 | | - |
791 | //============================================================================== | - |
792 | // contributed by Jay Case of Sarvega, Inc.; http://sarvega.com/ | - |
793 | // Based on X509_cmp_time() for intitial buffer hacking. | - |
794 | //============================================================================== | - |
795 | QDateTime q_getTimeFromASN1(const ASN1_TIME *aTime) | - |
796 | { | - |
797 | size_t lTimeLength = aTime->length; executed (the execution status of this line is deduced): size_t lTimeLength = aTime->length; | - |
798 | char *pString = (char *) aTime->data; executed (the execution status of this line is deduced): char *pString = (char *) aTime->data; | - |
799 | | - |
800 | if (aTime->type == V_ASN1_UTCTIME) { evaluated: aTime->type == 23 yes Evaluation Count:1174 | yes Evaluation Count:2 |
| 2-1174 |
801 | | - |
802 | char lBuffer[24]; executed (the execution status of this line is deduced): char lBuffer[24]; | - |
803 | char *pBuffer = lBuffer; executed (the execution status of this line is deduced): char *pBuffer = lBuffer; | - |
804 | | - |
805 | if ((lTimeLength < 11) || (lTimeLength > 17)) partially evaluated: (lTimeLength < 11) no Evaluation Count:0 | yes Evaluation Count:1174 |
partially evaluated: (lTimeLength > 17) no Evaluation Count:0 | yes Evaluation Count:1174 |
| 0-1174 |
806 | return QDateTime(); never executed: return QDateTime(); | 0 |
807 | | - |
808 | memcpy(pBuffer, pString, 10); executed (the execution status of this line is deduced): memcpy(pBuffer, pString, 10); | - |
809 | pBuffer += 10; executed (the execution status of this line is deduced): pBuffer += 10; | - |
810 | pString += 10; executed (the execution status of this line is deduced): pString += 10; | - |
811 | | - |
812 | if ((*pString == 'Z') || (*pString == '-') || (*pString == '+')) { partially evaluated: (*pString == 'Z') no Evaluation Count:0 | yes Evaluation Count:1174 |
partially evaluated: (*pString == '-') no Evaluation Count:0 | yes Evaluation Count:1174 |
partially evaluated: (*pString == '+') no Evaluation Count:0 | yes Evaluation Count:1174 |
| 0-1174 |
813 | *pBuffer++ = '0'; never executed (the execution status of this line is deduced): *pBuffer++ = '0'; | - |
814 | *pBuffer++ = '0'; never executed (the execution status of this line is deduced): *pBuffer++ = '0'; | - |
815 | } else { | 0 |
816 | *pBuffer++ = *pString++; executed (the execution status of this line is deduced): *pBuffer++ = *pString++; | - |
817 | *pBuffer++ = *pString++; executed (the execution status of this line is deduced): *pBuffer++ = *pString++; | - |
818 | // Skip any fractional seconds... | - |
819 | if (*pString == '.') { partially evaluated: *pString == '.' no Evaluation Count:0 | yes Evaluation Count:1174 |
| 0-1174 |
820 | pString++; never executed (the execution status of this line is deduced): pString++; | - |
821 | while ((*pString >= '0') && (*pString <= '9')) never evaluated: (*pString >= '0') never evaluated: (*pString <= '9') | 0 |
822 | pString++; never executed: pString++; | 0 |
823 | } | 0 |
824 | } executed: } Execution Count:1174 | 1174 |
825 | | - |
826 | *pBuffer++ = 'Z'; executed (the execution status of this line is deduced): *pBuffer++ = 'Z'; | - |
827 | *pBuffer++ = '\0'; executed (the execution status of this line is deduced): *pBuffer++ = '\0'; | - |
828 | | - |
829 | time_t lSecondsFromUCT; executed (the execution status of this line is deduced): time_t lSecondsFromUCT; | - |
830 | if (*pString == 'Z') { partially evaluated: *pString == 'Z' yes Evaluation Count:1174 | no Evaluation Count:0 |
| 0-1174 |
831 | lSecondsFromUCT = 0; executed (the execution status of this line is deduced): lSecondsFromUCT = 0; | - |
832 | } else { executed: } Execution Count:1174 | 1174 |
833 | if ((*pString != '+') && (*pString != '-')) never evaluated: (*pString != '+') never evaluated: (*pString != '-') | 0 |
834 | return QDateTime(); never executed: return QDateTime(); | 0 |
835 | | - |
836 | lSecondsFromUCT = ((pString[1] - '0') * 10 + (pString[2] - '0')) * 60; never executed (the execution status of this line is deduced): lSecondsFromUCT = ((pString[1] - '0') * 10 + (pString[2] - '0')) * 60; | - |
837 | lSecondsFromUCT += (pString[3] - '0') * 10 + (pString[4] - '0'); never executed (the execution status of this line is deduced): lSecondsFromUCT += (pString[3] - '0') * 10 + (pString[4] - '0'); | - |
838 | lSecondsFromUCT *= 60; never executed (the execution status of this line is deduced): lSecondsFromUCT *= 60; | - |
839 | if (*pString == '-') never evaluated: *pString == '-' | 0 |
840 | lSecondsFromUCT = -lSecondsFromUCT; never executed: lSecondsFromUCT = -lSecondsFromUCT; | 0 |
841 | } | 0 |
842 | | - |
843 | tm lTime; executed (the execution status of this line is deduced): tm lTime; | - |
844 | lTime.tm_sec = ((lBuffer[10] - '0') * 10) + (lBuffer[11] - '0'); executed (the execution status of this line is deduced): lTime.tm_sec = ((lBuffer[10] - '0') * 10) + (lBuffer[11] - '0'); | - |
845 | lTime.tm_min = ((lBuffer[8] - '0') * 10) + (lBuffer[9] - '0'); executed (the execution status of this line is deduced): lTime.tm_min = ((lBuffer[8] - '0') * 10) + (lBuffer[9] - '0'); | - |
846 | lTime.tm_hour = ((lBuffer[6] - '0') * 10) + (lBuffer[7] - '0'); executed (the execution status of this line is deduced): lTime.tm_hour = ((lBuffer[6] - '0') * 10) + (lBuffer[7] - '0'); | - |
847 | lTime.tm_mday = ((lBuffer[4] - '0') * 10) + (lBuffer[5] - '0'); executed (the execution status of this line is deduced): lTime.tm_mday = ((lBuffer[4] - '0') * 10) + (lBuffer[5] - '0'); | - |
848 | lTime.tm_mon = (((lBuffer[2] - '0') * 10) + (lBuffer[3] - '0')) - 1; executed (the execution status of this line is deduced): lTime.tm_mon = (((lBuffer[2] - '0') * 10) + (lBuffer[3] - '0')) - 1; | - |
849 | lTime.tm_year = ((lBuffer[0] - '0') * 10) + (lBuffer[1] - '0'); executed (the execution status of this line is deduced): lTime.tm_year = ((lBuffer[0] - '0') * 10) + (lBuffer[1] - '0'); | - |
850 | if (lTime.tm_year < 50) evaluated: lTime.tm_year < 50 yes Evaluation Count:1069 | yes Evaluation Count:105 |
| 105-1069 |
851 | lTime.tm_year += 100; // RFC 2459 executed: lTime.tm_year += 100; Execution Count:1069 | 1069 |
852 | | - |
853 | QDate resDate(lTime.tm_year + 1900, lTime.tm_mon + 1, lTime.tm_mday); executed (the execution status of this line is deduced): QDate resDate(lTime.tm_year + 1900, lTime.tm_mon + 1, lTime.tm_mday); | - |
854 | QTime resTime(lTime.tm_hour, lTime.tm_min, lTime.tm_sec); executed (the execution status of this line is deduced): QTime resTime(lTime.tm_hour, lTime.tm_min, lTime.tm_sec); | - |
855 | | - |
856 | QDateTime result(resDate, resTime, Qt::UTC); executed (the execution status of this line is deduced): QDateTime result(resDate, resTime, Qt::UTC); | - |
857 | result = result.addSecs(lSecondsFromUCT); executed (the execution status of this line is deduced): result = result.addSecs(lSecondsFromUCT); | - |
858 | return result; executed: return result; Execution Count:1174 | 1174 |
859 | | - |
860 | } else if (aTime->type == V_ASN1_GENERALIZEDTIME) { partially evaluated: aTime->type == 24 yes Evaluation Count:2 | no Evaluation Count:0 |
| 0-2 |
861 | | - |
862 | if (lTimeLength < 15) partially evaluated: lTimeLength < 15 no Evaluation Count:0 | yes Evaluation Count:2 |
| 0-2 |
863 | return QDateTime(); // hopefully never triggered never executed: return QDateTime(); | 0 |
864 | | - |
865 | // generalized time is always YYYYMMDDHHMMSSZ (RFC 2459, section 4.1.2.5.2) | - |
866 | tm lTime; executed (the execution status of this line is deduced): tm lTime; | - |
867 | lTime.tm_sec = ((pString[12] - '0') * 10) + (pString[13] - '0'); executed (the execution status of this line is deduced): lTime.tm_sec = ((pString[12] - '0') * 10) + (pString[13] - '0'); | - |
868 | lTime.tm_min = ((pString[10] - '0') * 10) + (pString[11] - '0'); executed (the execution status of this line is deduced): lTime.tm_min = ((pString[10] - '0') * 10) + (pString[11] - '0'); | - |
869 | lTime.tm_hour = ((pString[8] - '0') * 10) + (pString[9] - '0'); executed (the execution status of this line is deduced): lTime.tm_hour = ((pString[8] - '0') * 10) + (pString[9] - '0'); | - |
870 | lTime.tm_mday = ((pString[6] - '0') * 10) + (pString[7] - '0'); executed (the execution status of this line is deduced): lTime.tm_mday = ((pString[6] - '0') * 10) + (pString[7] - '0'); | - |
871 | lTime.tm_mon = (((pString[4] - '0') * 10) + (pString[5] - '0')); executed (the execution status of this line is deduced): lTime.tm_mon = (((pString[4] - '0') * 10) + (pString[5] - '0')); | - |
872 | lTime.tm_year = ((pString[0] - '0') * 1000) + ((pString[1] - '0') * 100) + executed (the execution status of this line is deduced): lTime.tm_year = ((pString[0] - '0') * 1000) + ((pString[1] - '0') * 100) + | - |
873 | ((pString[2] - '0') * 10) + (pString[3] - '0'); executed (the execution status of this line is deduced): ((pString[2] - '0') * 10) + (pString[3] - '0'); | - |
874 | | - |
875 | QDate resDate(lTime.tm_year, lTime.tm_mon, lTime.tm_mday); executed (the execution status of this line is deduced): QDate resDate(lTime.tm_year, lTime.tm_mon, lTime.tm_mday); | - |
876 | QTime resTime(lTime.tm_hour, lTime.tm_min, lTime.tm_sec); executed (the execution status of this line is deduced): QTime resTime(lTime.tm_hour, lTime.tm_min, lTime.tm_sec); | - |
877 | | - |
878 | QDateTime result(resDate, resTime, Qt::UTC); executed (the execution status of this line is deduced): QDateTime result(resDate, resTime, Qt::UTC); | - |
879 | return result; executed: return result; Execution Count:2 | 2 |
880 | | - |
881 | } else { | - |
882 | qWarning("unsupported date format detected"); never executed (the execution status of this line is deduced): QMessageLogger("ssl/qsslsocket_openssl_symbols.cpp", 882, __PRETTY_FUNCTION__).warning("unsupported date format detected"); | - |
883 | return QDateTime(); never executed: return QDateTime(); | 0 |
884 | } | - |
885 | | - |
886 | } | - |
887 | | - |
888 | QT_END_NAMESPACE | - |
889 | | - |
| | |