set encodedPoint to NULL after freeing it

This commit is contained in:
Dr. Stephen Henson 2011-05-19 16:18:39 +00:00
parent 6d12b1f82b
commit be70b3adce

View file

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