Skip to content

Commit

Permalink
pppd: fix build with LibreSSL 4.0.0
Browse files Browse the repository at this point in the history
Starting with LibreSSL 4.0.0 the OPENSSL_load_builtin_modules() function
was removed. It is obsolete after automatic library initialization and
now an internal API.
  • Loading branch information
orbea committed Oct 17, 2024
1 parent ac269db commit 5c6c77d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pppd/eap-tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ CONF *eaptls_ssl_load_config( void )
#ifndef OPENSSL_NO_ENGINE
ENGINE_load_builtin_engines();
#endif
#if !defined(LIBRESSL_VERSION_NUMBER) || (LIBRESSL_VERSION_NUMBER < 0x4000000fL)
OPENSSL_load_builtin_modules();
#endif

dbglog( "Loading OpenSSL configured modules" );
if (CONF_modules_load( config, NULL, 0 ) <= 0 )
Expand Down

0 comments on commit 5c6c77d

Please sign in to comment.