Lines 919-925
void * tls_init(const struct tls_config *conf)
Link Here
|
919 |
} |
919 |
} |
920 |
#endif /* OPENSSL_FIPS */ |
920 |
#endif /* OPENSSL_FIPS */ |
921 |
#endif /* CONFIG_FIPS */ |
921 |
#endif /* CONFIG_FIPS */ |
922 |
#if OPENSSL_VERSION_NUMBER < 0x10100000L |
922 |
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) |
923 |
SSL_load_error_strings(); |
923 |
SSL_load_error_strings(); |
924 |
SSL_library_init(); |
924 |
SSL_library_init(); |
925 |
#ifndef OPENSSL_NO_SHA256 |
925 |
#ifndef OPENSSL_NO_SHA256 |
Lines 1043-1049
void tls_deinit(void *ssl_ctx)
Link Here
|
1043 |
|
1043 |
|
1044 |
tls_openssl_ref_count--; |
1044 |
tls_openssl_ref_count--; |
1045 |
if (tls_openssl_ref_count == 0) { |
1045 |
if (tls_openssl_ref_count == 0) { |
1046 |
#if OPENSSL_VERSION_NUMBER < 0x10100000L |
1046 |
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) |
1047 |
#ifndef OPENSSL_NO_ENGINE |
1047 |
#ifndef OPENSSL_NO_ENGINE |
1048 |
ENGINE_cleanup(); |
1048 |
ENGINE_cleanup(); |
1049 |
#endif /* OPENSSL_NO_ENGINE */ |
1049 |
#endif /* OPENSSL_NO_ENGINE */ |
Lines 2334-2340
static int tls_connection_client_cert(struct tls_connection *conn,
Link Here
|
2334 |
return 0; |
2334 |
return 0; |
2335 |
|
2335 |
|
2336 |
#ifdef PKCS12_FUNCS |
2336 |
#ifdef PKCS12_FUNCS |
2337 |
#if OPENSSL_VERSION_NUMBER < 0x10002000L |
2337 |
#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) |
2338 |
/* |
2338 |
/* |
2339 |
* Clear previously set extra chain certificates, if any, from PKCS#12 |
2339 |
* Clear previously set extra chain certificates, if any, from PKCS#12 |
2340 |
* processing in tls_parse_pkcs12() to allow OpenSSL to build a new |
2340 |
* processing in tls_parse_pkcs12() to allow OpenSSL to build a new |
2341 |
- |
|
|
2342 |
-- |
2343 |
src/crypto/tls_openssl.c | 2 +- |
2341 |
src/crypto/tls_openssl.c | 2 +- |
2344 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2342 |
1 file changed, 1 insertion(+), 1 deletion(-) |