diff -ru fetchmail-6.4.39.orig/configure fetchmail-6.4.39/configure
--- fetchmail-6.4.39.orig/configure 2024-07-20 11:34:52.000000000 +0200
+++ fetchmail-6.4.39/configure 2024-08-09 11:53:47.808214122 +0200
@@ -13349,8 +13349,8 @@
with_wolfssl="$(${_WOLFSSLCONF} --prefix)"
fi
if "$_WOLFSSLCONF" >/dev/null 2>&1 --version ; then
- wolfCFLAGS="$(${_WOLFSSLCONF} --cflags)"
- wolfLIBS="$(${_WOLFSSLCONF} --libs)"
+ wolfCFLAGS="$($PKG_CONFIG --cflags wolfssl)"
+ wolfLIBS="$($PKG_CONFIG --libs wolfssl)"
elif test -d "${with_wolfssl}/include" -a -d "${with_wolfssl}/lib" ; then
wolfCFLAGS="-I${with_wolfssl}/include"
wolfLIBS="-L${with_wolfssl}/lib -lwolfssl -lpthread"
diff -ru fetchmail-6.4.39.orig/fetchmail.c fetchmail-6.4.39/fetchmail.c
--- fetchmail-6.4.39.orig/fetchmail.c 2024-01-31 20:54:42.000000000 +0100
+++ fetchmail-6.4.39/fetchmail.c 2024-08-09 11:34:11.836359108 +0200
@@ -314,9 +314,11 @@
"Run-time uses SSL library %#lx \"%s\"\n"),
OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT,
OpenSSL_version_num(), OpenSSL_version(OPENSSL_VERSION));
+#ifndef USING_WOLFSSL
printf(GT_("OpenSSL: %s\nEngines: %s\n"),
OpenSSL_version(OPENSSL_DIR),
OpenSSL_version(OPENSSL_ENGINES_DIR));
+#endif
# if !HAVE_DECL_TLS1_3_VERSION || defined(OPENSSL_NO_TLS1_3)
printf(GT_("WARNING: Your SSL/TLS library does not support TLS v1.3.\n"));
# endif
Only in fetchmail-6.4.39: fetchmail.c.orig