Skip to content

Commit

Permalink
tls: fix compilation with OpenSSL <= 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
space88man committed Jan 4, 2024
1 parent 689de27 commit 7111687
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/tls/tls_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ int tls_pre_init(void)
* tls mod pre-init function
* - executed before any mod_init()
*/
#if OPENSSL_VERSION_NUMBER >= 0x030000000L
long tls_h_mod_randctx(void *) {
do {
OSSL_LIB_CTX *osslglobal = NULL;
Expand Down Expand Up @@ -808,6 +809,7 @@ long tls_h_mod_randctx(void *) {

return 0L;
}
#endif

int tls_h_mod_pre_init_f(void)
{
Expand Down

0 comments on commit 7111687

Please sign in to comment.