diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2020-03-30 21:26:22 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2020-03-30 21:26:22 +0200 |
commit | 0e590bf4f02938c6d1a36f392d9689081e04f60d (patch) | |
tree | 111517f654442d70bea896f730642c7b86cc3464 /fetchmail.c | |
parent | 43b557d52f2013995bca95afaccfad95cbbc2c17 (diff) | |
download | fetchmail-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.c | 9 |
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 */ |