mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-25 02:47:06 +00:00
Avoid server_random related leak
This commit is contained in:
parent
673f7ce85f
commit
ee1d6de1f8
1 changed files with 2 additions and 1 deletions
|
@ -283,6 +283,7 @@ int ssl_set_server_random(d,msg,len)
|
|||
#ifdef OPENSSL
|
||||
int r;
|
||||
|
||||
r_data_destroy(&d->server_random);
|
||||
if((r=r_data_create(&d->server_random,msg,len)))
|
||||
ERETURN(r);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue