set encodedPoint to NULL after freeing it

This commit is contained in:
Dr. Stephen Henson 2011-05-19 16:18:25 +00:00
parent 51eb247d0f
commit 38c42c6eea

View File

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