Skip to content

Commit

Permalink
curl: fix openssl double free during pkg_shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmcdonald91 committed Oct 19, 2023
1 parent 2fe36a5 commit f61ea3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions external/curl/lib/vtls/openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,9 @@ static int ossl_init(void)
OPENSSL_INIT_NO_LOAD_CONFIG |
#else
OPENSSL_INIT_LOAD_CONFIG |
#endif
#ifdef OPENSSL_INIT_NO_ATEXIT
OPENSSL_INIT_NO_ATEXIT |
#endif
0;
OPENSSL_init_ssl(flags, NULL);
Expand Down

0 comments on commit f61ea3e

Please sign in to comment.