[tin-dev] [tin 2.6.2] snapshots with NNTPS and pcre2

Dennis Preiser dennis at d--p.de
Tue Nov 1 18:21:42 CET 2022


On Tue, Nov 01, 2022 at 02:20:59PM +0100, Urs Janßen wrote:
>> As the NNTPS (currently) has no debug-level or info-screen a new file
>> ${TIN_HOMEDIR:\-"$HOME"}/.tin/tinmsglog will be rewritten on every
>> invocation which holds a copy of all wait_/error_messages and might be
>> useful for debugging. This is not yet documented and the location of the
>> file and the name is likely to be changed.
> 
> This has been addressed
> - there is now a ConnectionInfo screen available via 'J' from select-,
> group-, thread- and page-level
> - the tinmsglog is now written as msglog in the same location as the serverrc
> 
> New snapshots are available here:
> 
> <ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.2.tar.gz>
> <ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.2.tar.bz2>
> <ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.2.tar.xz>

I just updated OpenSSL from version 3.0.5 to 3.0.7 and noticed that tin
still shows 3.0.5 in the "Connection Info" ('J') afterwards. With the
attached patch the OpenSSL version is determined at runtime and the
version displayed in tin matches the installed version.

Dennis
-------------- next part --------------
--- misc.c	2022-11-01 14:12:10
+++ misc.c	2022-11-01 17:35:17
@@ -71,6 +71,7 @@
 #   else
 #       ifdef HAVE_LIB_OPENSSL
 #           include <openssl/opensslv.h>
+#           include <openssl/crypto.h>
 #       else
 #           ifdef HAVE_LIB_GNUTLS
 #               include <gnutls/gnutls.h>
@@ -4427,7 +4428,7 @@ make_connection_page(
 			fprintf(fp, "(LibreSSL %d).\n", TLS_API);
 #		else
 #			ifdef HAVE_LIB_OPENSSL
-			fprintf(fp, "(%s).\n", OPENSSL_VERSION_TEXT);
+			fprintf(fp, "(%s).\n", OpenSSL_version(OPENSSL_VERSION));
 #			else
 #				ifdef HAVE_LIB_GNUTLS
 			fprintf(fp, "(GnuTLS %s).\n", gnutls_check_version(NULL));


More information about the tin-dev mailing list