Lines 67-73
void BN_GENCB_free(BN_GENCB *cb)
Link Here
|
67 |
#endif |
67 |
#endif |
68 |
|
68 |
|
69 |
|
69 |
|
|
|
70 |
#if OPENSSL_VERSION_NUMBER < 0x10100000L |
70 |
static int isns_openssl_init = 0; |
71 |
static int isns_openssl_init = 0; |
|
|
72 |
#endif |
71 |
|
73 |
|
72 |
static int isns_dsasig_verify(isns_security_t *ctx, |
74 |
static int isns_dsasig_verify(isns_security_t *ctx, |
73 |
isns_principal_t *peer, |
75 |
isns_principal_t *peer, |
Lines 92-97
isns_create_dsa_context(void)
Link Here
|
92 |
{ |
94 |
{ |
93 |
isns_security_t *ctx; |
95 |
isns_security_t *ctx; |
94 |
|
96 |
|
|
|
97 |
#if OPENSSL_VERSION_NUMBER < 0x10100000L |
95 |
if (!isns_openssl_init) { |
98 |
if (!isns_openssl_init) { |
96 |
ERR_load_crypto_strings(); |
99 |
ERR_load_crypto_strings(); |
97 |
OpenSSL_add_all_algorithms(); |
100 |
OpenSSL_add_all_algorithms(); |
Lines 99-104
isns_create_dsa_context(void)
Link Here
|
99 |
OpenSSL_add_all_digests(); |
102 |
OpenSSL_add_all_digests(); |
100 |
isns_openssl_init = 1; |
103 |
isns_openssl_init = 1; |
101 |
} |
104 |
} |
|
|
105 |
#endif |
102 |
|
106 |
|
103 |
ctx = isns_calloc(1, sizeof(*ctx)); |
107 |
ctx = isns_calloc(1, sizeof(*ctx)); |
104 |
|
108 |
|
105 |
- |
|
|