aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2021-03-13 20:57:00 +0100
committerMatthias Andree <matthias.andree@gmx.de>2021-03-13 20:57:00 +0100
commit70946a7ef758f282e3f5bce92f9622beef986790 (patch)
tree9cddf81a62cfa4e1a5a4cadabb47d101237b3f6f /socket.c
parentd4d7d6e08cc881cb3b4f612c1a4d9c5b97620860 (diff)
downloadfetchmail-70946a7ef758f282e3f5bce92f9622beef986790.tar.gz
fetchmail-70946a7ef758f282e3f5bce92f9622beef986790.tar.bz2
fetchmail-70946a7ef758f282e3f5bce92f9622beef986790.zip
OpenSSL: permit deprecated features,
to avoid compatibility issues with new OpenSSL versions later on.
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index e78ee79a..a6d2fc53 100644
--- a/socket.c
+++ b/socket.c
@@ -10,7 +10,6 @@
#include "config.h"
#include "fetchmail.h"
-#include "tls-aux.h"
#include <stdio.h>
#include <errno.h>
@@ -377,11 +376,16 @@ va_dcl {
}
#ifdef SSL_ENABLE
+#if 0
+/* this is not to be enabled in stable releases to avoid
+ * compatibility issues */
/* OPENSSL_NO_SSL_INTERN:
transitional feature for OpenSSL 1.0.1 up to and excluding 1.1.0
to make sure we do not access internal structures! */
#define OPENSSL_NO_SSL_INTERN 1
#define OPENSSL_NO_DEPRECATED 23
+#endif
+#include "tls-aux.h"
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/pem.h>