Commit bcdc625 1 parent c77e84f commit bcdc625 Copy full SHA for bcdc625
File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,11 @@ void tell_verbose_status(int idx)
297
297
#elif !defined HAVE_EVP_PKEY_GET1_EC_KEY && !defined HAVE_OPENSSL_MD5
298
298
"TLS library: %s (%s " OPENSSL_VERSION_TEXT ")\n (no elliptic curve or MD5 support)\n" ,
299
299
#endif
300
+ #if (OPENSSL_VERSION_NUMBER >= 0x10100000L )
301
+ OpenSSL_version (OPENSSL_VERSION ), MISC_HEADERVERSION );
302
+ #else
300
303
SSLeay_version (SSLEAY_VERSION ), MISC_HEADERVERSION );
304
+ #endif
301
305
#else
302
306
dprintf (idx , "TLS support is not available.\n" );
303
307
#endif
Original file line number Diff line number Diff line change @@ -786,7 +786,11 @@ static int tcl_status STDVAR
786
786
if ((argc < 2 ) || !strcmp (argv [1 ], "tls" )) {
787
787
Tcl_AppendElement (irp , "tls" );
788
788
#ifdef TLS
789
+ #if (OPENSSL_VERSION_NUMBER >= 0x10100000L )
790
+ Tcl_AppendElement (irp , OpenSSL_version (OPENSSL_VERSION ));
791
+ #else
789
792
Tcl_AppendElement (irp , SSLeay_version (SSLEAY_VERSION ));
793
+ #endif
790
794
#else
791
795
Tcl_AppendElement (irp , "disabled" );
792
796
#endif
You can’t perform that action at this time.
0 commit comments