aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-03-30 21:26:22 +0200
committerMatthias Andree <matthias.andree@gmx.de>2020-03-30 21:26:22 +0200
commit0e590bf4f02938c6d1a36f392d9689081e04f60d (patch)
tree111517f654442d70bea896f730642c7b86cc3464 /fetchmail.c
parent43b557d52f2013995bca95afaccfad95cbbc2c17 (diff)
downloadfetchmail-0e590bf4f02938c6d1a36f392d9689081e04f60d.tar.gz
fetchmail-0e590bf4f02938c6d1a36f392d9689081e04f60d.tar.bz2
fetchmail-0e590bf4f02938c6d1a36f392d9689081e04f60d.zip
Fix -SSL/+SSL reporting in fetchmail -V output.
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c9
1 files changed, 5 insertions, 4 deletions
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 */