mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 01:17:04 +00:00
Avoid client_random related leak
This commit is contained in:
parent
59b88f4e2b
commit
673f7ce85f
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ int ssl_set_client_random(d,msg,len)
|
|||
#ifdef OPENSSL
|
||||
int r;
|
||||
|
||||
r_data_destroy(&d->client_random);
|
||||
if((r=r_data_create(&d->client_random,msg,len)))
|
||||
ERETURN(r);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue