set encodedPoint to NULL after freeing it

This commit is contained in:
Dr. Stephen Henson 2011-05-19 16:17:47 +00:00
parent fb2f3411ea
commit 4f7533eb84

View File

@ -1869,6 +1869,7 @@ int ssl3_send_server_key_exchange(SSL *s)
(unsigned char *)encodedPoint,
encodedlen);
OPENSSL_free(encodedPoint);
encodedPoint = NULL;
p += encodedlen;
}
#endif