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
This commit is contained in:
Przemysław Czerpak
2025-01-28 12:23:23 +01:00
parent 8013782a89
commit 08819f56f2
2 changed files with 6 additions and 2 deletions

View File

@@ -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 );