From d429e6df5ef16a8dfd7bcbeb25b0260eb8e5d96f Mon Sep 17 00:00:00 2001 From: ak1 Date: Mon, 24 Oct 2005 13:38:05 +0000 Subject: [PATCH] Andreas Krennmair: - show OpenSSL library version on -v screen if enabled. - disable SSL v2 by default. It is still available, but must be enabled explicitly, due to security reasons: http://www.mozillazine.org/talkback.html?article=7252 git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@561 e385b8ad-14ed-0310-8656-cc95a2468c6d --- VERSION.svn | 2 +- init.h | 2 +- main.c | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/VERSION.svn b/VERSION.svn index c7884c0..faea12c 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -560 +561 diff --git a/init.h b/init.h index fecccfc..6bb6a05 100644 --- a/init.h +++ b/init.h @@ -2664,7 +2664,7 @@ struct option_t MuttVars[] = { ** The file which includes random data that is used to initialize SSL ** library functions. */ - {"ssl_use_sslv2", DT_BOOL, R_NONE, OPTSSLV2, "yes" }, + {"ssl_use_sslv2", DT_BOOL, R_NONE, OPTSSLV2, "no" }, /* ** .pp ** Availability: SSL diff --git a/main.c b/main.c index d604a54..9431929 100644 --- a/main.c +++ b/main.c @@ -74,6 +74,10 @@ #include #endif +#ifdef USE_SSL +#include +#endif + static const char *ReachingUs = N_("\ To contact the developers, please mail to .\n\ To visit the Mutt-ng homepage go to http://www.muttng.org.\n\ @@ -240,6 +244,10 @@ static void show_version (void) printf (" gnutls %s\n", LIBGNUTLS_VERSION); #endif +#ifdef USE_SSL + printf (" %s\n",OPENSSL_VERSION_TEXT); +#endif + #ifdef CRYPT_BACKEND_GPGME printf (" gpgme %s\n", GPGME_VERSION); #endif -- 2.20.1