[or-cvs] Remove vestigial variable

Nick Mathewson nickm at seul.org
Tue Apr 6 20:42:27 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv30332/src/or

Modified Files:
	onion.c 
Log Message:
Remove vestigial variable

Index: onion.c
===================================================================
RCS file: /home/or/cvsroot/src/or/onion.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- onion.c	6 Apr 2004 20:16:12 -0000	1.143
+++ onion.c	6 Apr 2004 20:42:25 -0000	1.144
@@ -612,7 +612,6 @@
 {
   char challenge[ONIONSKIN_CHALLENGE_LEN];
   crypto_dh_env_t *dh = NULL;
-  crypto_cipher_env_t *cipher = NULL;
   int len;
   char *key_material=NULL;
 
@@ -655,12 +654,10 @@
 #endif
 
   tor_free(key_material);
-  crypto_free_cipher_env(cipher);
   crypto_dh_free(dh);
   return 0;
  err:
   tor_free(key_material);
-  if (cipher) crypto_free_cipher_env(cipher);
   if (dh) crypto_dh_free(dh);
 
   return -1;



More information about the tor-commits mailing list