[balsa] Fix OPENSSL_VERSION_NUMBER check



commit 94e2993f40fdfe417ebf9403d7296a5b29275a4a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Feb 21 19:54:50 2017 -0500

    Fix OPENSSL_VERSION_NUMBER check
    
        * libbalsa/imap/imap-tls.c: fix OPENSSL_VERSION_NUMBER check

 ChangeLog                |    4 ++++
 libbalsa/imap/imap-tls.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d088ef6..87cba99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-02-21  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       * libbalsa/imap/imap-tls.c: fix OPENSSL_VERSION_NUMBER check
+
 2017-02-20  Peter Bloomfield  <pbloomfield bellsouth net>
 
        Give the user the option to ignore PIPELINING capability in a
diff --git a/libbalsa/imap/imap-tls.c b/libbalsa/imap/imap-tls.c
index 7579401..3283c70 100644
--- a/libbalsa/imap/imap-tls.c
+++ b/libbalsa/imap/imap-tls.c
@@ -63,7 +63,7 @@ static SSL_CTX *global_ssl_context = NULL;
 static GMutex global_tls_lock;
 
   /* Setting callbacks is not required any more with 1.1.0-pre4 and newer */
-#if OPENSSL_VERSION_NUMBER < 0x010100040L
+#if OPENSSL_VERSION_NUMBER < 0x010100004L
 /* OpenSSL static locks */
 static GMutex *mutexes = NULL;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]