diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c index c4f9ddc5e9..6ed8035f5c 100644 --- a/libraries/libldap/tls_o.c +++ b/libraries/libldap/tls_o.c @@ -121,7 +121,7 @@ static void tlso_thr_init( void ) {} * OpenSSL 1.1 API and later makes the BIO method concrete types internal. */ -static const BIO_METHOD * +static BIO_METHOD * BIO_meth_new( int type, const char *name ) { BIO_METHOD *method = LDAP_MALLOC( sizeof(BIO_METHOD) );