]> Pileus Git - ~andy/fetchmail/commitdiff
State that we don't want to access internal OpenSSL structures.
authorMatthias Andree <matthias.andree@gmx.de>
Sat, 26 May 2012 01:27:46 +0000 (03:27 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Thu, 31 May 2012 23:03:05 +0000 (01:03 +0200)
Requires OpenSSL 1.0.1, but compatible with older releases, too.

socket.c

index 5feff634d415e1e3e4c922b178d1408015050bb7..e8ed58402f80d3113ba8754c9b0007eb56d46bd3 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -320,6 +320,7 @@ int SockPrintf(int sock, const char* format, ...)
 }
 
 #ifdef SSL_ENABLE
+#define OPENSSL_NO_SSL_INTERN 1
 #include <openssl/ssl.h>
 #include <openssl/err.h>
 #include <openssl/pem.h>