diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2021-11-29 21:28:39 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2021-11-29 21:28:39 +0100 |
commit | f88888b6ee8b842a4409364315b48cbff798af89 (patch) | |
tree | 52092530c700f9271b390a39648219e20056f98a /fetchmail.c | |
parent | f710f41fe2cc84e17f67a0ef17a6d7dc77c65bc9 (diff) | |
download | fetchmail-f88888b6ee8b842a4409364315b48cbff798af89.tar.gz fetchmail-f88888b6ee8b842a4409364315b48cbff798af89.tar.bz2 fetchmail-f88888b6ee8b842a4409364315b48cbff798af89.zip |
wolfSSL support reporting details
when using wolfSSL:
- avoid OpenSSL acknowledgment
- use +WOLFSSL as version tag instead of +SSL-SSLv2
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 70b4d3a9..160990b7 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -150,7 +150,7 @@ static void printcopyright(FILE *fp) { fprintf(fp, GT_("Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n" "are welcome to redistribute it under certain conditions. For details,\n" "please see the file COPYING in the source or documentation directory.\n")); -#ifdef SSL_ENABLE +#if defined(SSL_ENABLE) && !defined(USING_WOLFSSL) /* Do not translate this */ fprintf(fp, "This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit. (http://www.openssl.org/)\n"); #endif @@ -270,7 +270,11 @@ int main(int argc, char **argv) #ifndef SSL_ENABLE "-SSL" #else +#ifdef USING_WOLFSSL + "+WOLFSSL" +#else "+SSL-SSLv2" +#endif #if (HAVE_DECL_SSLV3_CLIENT_METHOD + 0 == 0) || defined(OPENSSL_NO_SSL3) "-SSLv3" #endif |