diff --git a/psk/client-psk-resume.c b/psk/client-psk-resume.c index 8fb94d11..2379652d 100644 --- a/psk/client-psk-resume.c +++ b/psk/client-psk-resume.c @@ -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