mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
Fix leakable rsa key
svn:r3099
This commit is contained in:
parent
e0e40e51ae
commit
0f49fd3bcd
1 changed files with 2 additions and 0 deletions
|
@ -372,6 +372,8 @@ tor_tls_context_new(crypto_pk_env_t *identity,
|
||||||
tor_free(global_tls_context);
|
tor_free(global_tls_context);
|
||||||
}
|
}
|
||||||
global_tls_context = result;
|
global_tls_context = result;
|
||||||
|
if (rsa)
|
||||||
|
crypto_free_pk_env(rsa);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
|
Loading…
Add table
Reference in a new issue