ssl/qsslsocket_openssl_symbols.cpp

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

Generated by Squish Coco Non-Commercial