From f88888b6ee8b842a4409364315b48cbff798af89 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 29 Nov 2021 21:28:39 +0100 Subject: wolfSSL support reporting details when using wolfSSL: - avoid OpenSSL acknowledgment - use +WOLFSSL as version tag instead of +SSL-SSLv2 --- fetchmail.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'fetchmail.c') 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 @@ -269,8 +269,12 @@ int main(int argc, char **argv) #endif /* ODMR_ENABLE */ #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 -- cgit v1.2.3