From 0e590bf4f02938c6d1a36f392d9689081e04f60d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 30 Mar 2020 21:26:22 +0200 Subject: Fix -SSL/+SSL reporting in fetchmail -V output. --- fetchmail.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index eef77752..c290b7a7 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -265,19 +265,20 @@ int main(int argc, char **argv) #ifndef ODMR_ENABLE "-ODMR" #endif /* ODMR_ENABLE */ -#ifdef SSL_ENABLE - "+SSL" - "-SSLv2" +#ifndef SSL_ENABLE + "-SSL" +#else + "+SSL-SSLv2" #if (HAVE_DECL_SSLV3_CLIENT_METHOD + 0 == 0) || defined(OPENSSL_NO_SSL3) "-SSLv3" #endif -#endif #if HAVE_DECL_TLS1_2_VERSION + 0 == 0 "-TLS1.2" #endif #if HAVE_DECL_TLS1_3_VERSION + 0 == 0 "-TLS1.3" #endif +#endif #ifdef OPIE_ENABLE "+OPIE" #endif /* OPIE_ENABLE */ -- cgit v1.2.3