From 2c470d55a7a2e3c8fffa836f15371421062e671f Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 11 Jan 2024 00:18:39 +0100 Subject: Report OpenSSL and mbedTLS versions --- src/IO/tls_openssl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/IO/tls_openssl.c') diff --git a/src/IO/tls_openssl.c b/src/IO/tls_openssl.c index 413ec4d5..c3e2673a 100644 --- a/src/IO/tls_openssl.c +++ b/src/IO/tls_openssl.c @@ -8,7 +8,7 @@ * (for the certificate hostname checking from wget) * Copyright (C) 2011 Benjamin Johnson * (for the https code offered from dplus browser that formed the basis...) - * Copyright (C) 2023 Rodrigo Arias Mallo + * Copyright (C) 2023-2024 Rodrigo Arias Mallo * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -53,6 +53,7 @@ #include #include #include /* for hostname checking */ +#include /* OpenSSL_version */ #define CERT_STATUS_NONE 0 #define CERT_STATUS_RECEIVING 1 @@ -246,6 +247,7 @@ static void Tls_load_certificates() */ void a_Tls_openssl_init(void) { + MSG("TLS library: %s\n", OpenSSL_version(OPENSSL_VERSION)); SSL_library_init(); SSL_load_error_strings(); if (RAND_status() != 1) { -- cgit v1.2.3