postfix/postfix-opensslconfig.patch

25 lines
800 B
Diff

Index: src/tls/tls_server.c
===================================================================
--- src/tls/tls_server.c.orig
+++ src/tls/tls_server.c
@@ -364,6 +364,7 @@ TLS_APPL_STATE *tls_server_init(const TL
*/
SSL_load_error_strings();
OpenSSL_add_ssl_algorithms();
+ OPENSSL_config(NULL);
/*
* First validate the protocols. If these are invalid, we can't continue.
Index: src/tls/tls_client.c
===================================================================
--- src/tls/tls_client.c.orig
+++ src/tls/tls_client.c
@@ -307,6 +307,7 @@ TLS_APPL_STATE *tls_client_init(const TL
*/
SSL_load_error_strings();
OpenSSL_add_ssl_algorithms();
+ OPENSSL_config(NULL);
/*
* Create an application data index for SSL objects, so that we can