mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
set encodedPoint to NULL after freeing it
This commit is contained in:
parent
fb2f3411ea
commit
4f7533eb84
@ -1869,6 +1869,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…
Reference in New Issue
Block a user