Merge pull request #560 from embhorn/fix_psk_resume_client

Set ssl to null after free to avoid double free
pull/562/head
JacobBarthelmeh 2026-02-24 14:52:02 -07:00 committed by GitHub
commit f2dec15dde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ int main(int argc, char **argv){
/* cleanup without wolfSSL_Cleanup() and wolfSSL_CTX_free() for now */
wolfSSL_free(ssl);
ssl = NULL;
/*
* resume session, start new connection and socket