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 8c45781
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions external/curl/lib/vtls/openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1705,6 +1705,8 @@ static int ossl_init(void)
#else
OPENSSL_INIT_LOAD_CONFIG |
#endif
/* XXX: keep until upstream has this... */
OPENSSL_INIT_NO_ATEXIT |
0;
OPENSSL_init_ssl(flags, NULL);
#else
Expand Down

0 comments on commit 8c45781

Please sign in to comment.