[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix leakable rsa key
Update of /home/or/cvsroot/tor/src/common
In directory moria.mit.edu:/tmp/cvs-serv23100/src/common
Modified Files:
tortls.c
Log Message:
Fix leakable rsa key
Index: tortls.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/tortls.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- tortls.c 29 Nov 2004 22:25:28 -0000 1.80
+++ tortls.c 7 Dec 2004 06:48:02 -0000 1.81
@@ -372,6 +372,8 @@
tor_free(global_tls_context);
}
global_tls_context = result;
+ if (rsa)
+ crypto_free_pk_env(rsa);
return 0;
error: