diff --git a/ChangeLog.txt b/ChangeLog.txt index 4890ea65c0..8afb8f245a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,10 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2025-01-28 12:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * contrib/hbssl/bio.c + ! do not leave dummy BIO declaration for OpenSSL < 1.1.0 + 2025-01-28 12:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/bio.c ! use BIO_ADDR* in OpenSSL >= 1.1.0 and do not use it in LibreSSL diff --git a/contrib/hbssl/bio.c b/contrib/hbssl/bio.c index b870718934..94c4316bf8 100644 --- a/contrib/hbssl/bio.c +++ b/contrib/hbssl/bio.c @@ -797,10 +797,10 @@ HB_FUNC( BIO_GET_CONN_INT_PORT ) HB_FUNC( BIO_GET_CONN_ADDRESS ) { - BIO * bio = hb_BIO_par( 1 ); - #if OPENSSL_VERSION_NUMBER >= 0x1010000fL && \ ! defined( LIBRESSL_VERSION_NUMBER ) + BIO * bio = hb_BIO_par( 1 ); + if( bio ) { const BIO_ADDR * ba = BIO_get_conn_address( bio );