Hi!
I noticed a problem with mutt_ssl.c when compiling latest CVS version. An #if
directive was comparing OPENSSL_VERSION_NUMBER against a constant that was
missing a trailing zero. This caused a feature to be used that was not
available in my version of OpenSSL. I have included below a patch that corrects
the version number.
Steven Skovran
-----------------------------------------------------------------------
Index: mutt_ssl.c
===================================================================
RCS file: /home/roessler/cvs/mutt/mutt_ssl.c,v
retrieving revision 2.5
diff -u -p -r2.5 mutt_ssl.c
--- mutt_ssl.c 2001/02/23 09:13:53 2.5
+++ mutt_ssl.c 2001/03/01 20:10:57
@@ -303,7 +303,7 @@ int ssl_negotiate (sslsockdata* ssldata)
int err;
const char* errmsg;
-#if OPENSSL_VERSION_NUMBER >= 0x0090600
+#if OPENSSL_VERSION_NUMBER >= 0x00906000L
/* This only exists in 0.9.6 and above. Without it we may get interrupted
* reads or writes. Bummer. */
SSL_set_mode (ssldata->ssl, SSL_MODE_AUTO_RETRY);