Merge pull request #560 from embhorn/fix_psk_resume_client
Set ssl to null after free to avoid double freepull/562/head
commit
f2dec15dde
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue