set encodedPoint to NULL after freeing it
This commit is contained in:
parent
676cd3a283
commit
74bf705ea8
@ -1825,6 +1825,7 @@ int ssl3_send_server_key_exchange(SSL *s)
|
|||||||
(unsigned char *)encodedPoint,
|
(unsigned char *)encodedPoint,
|
||||||
encodedlen);
|
encodedlen);
|
||||||
OPENSSL_free(encodedPoint);
|
OPENSSL_free(encodedPoint);
|
||||||
|
encodedPoint = NULL;
|
||||||
p += encodedlen;
|
p += encodedlen;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user