mirror of
https://github.com/adulau/ssldump.git
synced 2024-12-22 16:05:58 +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
|
@ -282,7 +282,8 @@ 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