|
Lines 48-54
log_openssl_error (const char * file,
Link Here
|
| 48 |
static bool strings_loaded = false; |
49 |
static bool strings_loaded = false; |
| 49 |
if (!strings_loaded) |
50 |
if (!strings_loaded) |
| 50 |
{ |
51 |
{ |
|
|
52 |
#if OPENSSL_VERSION_NUMBER < 0x10100000 |
| 51 |
ERR_load_crypto_strings (); |
53 |
ERR_load_crypto_strings (); |
|
|
54 |
#else |
| 55 |
OPENSSL_init_crypto (OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL); |
| 56 |
#endif |
| 57 |
|
| 52 |
strings_loaded = true; |
58 |
strings_loaded = true; |
| 53 |
} |
59 |
} |
| 54 |
#endif |
60 |
#endif |