diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-12-07 06:48:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-12-07 06:48:02 +0000 |
commit | 0f49fd3bcde9ae2a548cd0ab5dfc7ecddb79cc60 (patch) | |
tree | edcf5eeb660b8d7cc166625ae4f39ef1a25ade0b /src | |
parent | e0e40e51ae4f1b5a7fdd3faa330da0e6c1b633d5 (diff) | |
download | tor-0f49fd3bcde9ae2a548cd0ab5dfc7ecddb79cc60.tar.gz tor-0f49fd3bcde9ae2a548cd0ab5dfc7ecddb79cc60.zip |
Fix leakable rsa key
svn:r3099
Diffstat (limited to 'src')
-rw-r--r-- | src/common/tortls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 01d5b58795..647bf26166 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -372,6 +372,8 @@ tor_tls_context_new(crypto_pk_env_t *identity, tor_free(global_tls_context); } global_tls_context = result; + if (rsa) + crypto_free_pk_env(rsa); return 0; error: |