Skip to content

Commit f61ea3e

Browse files
committed
curl: fix openssl double free during pkg_shutdown
1 parent 2fe36a5 commit f61ea3e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

external/curl/lib/vtls/openssl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,6 +1704,9 @@ static int ossl_init(void)
17041704
OPENSSL_INIT_NO_LOAD_CONFIG |
17051705
#else
17061706
OPENSSL_INIT_LOAD_CONFIG |
1707+
#endif
1708+
#ifdef OPENSSL_INIT_NO_ATEXIT
1709+
OPENSSL_INIT_NO_ATEXIT |
17071710
#endif
17081711
0;
17091712
OPENSSL_init_ssl(flags, NULL);

0 commit comments

Comments
 (0)