Browse Source

Remove vestigial variable

svn:r1507
Nick Mathewson 21 years ago
parent
commit
2446996f97
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/or/onion.c

+ 0 - 3
src/or/onion.c

@@ -612,7 +612,6 @@ onion_skin_server_handshake(char *onion_skin, /* ONIONSKIN_CHALLENGE_LEN bytes *
 {
 {
   char challenge[ONIONSKIN_CHALLENGE_LEN];
   char challenge[ONIONSKIN_CHALLENGE_LEN];
   crypto_dh_env_t *dh = NULL;
   crypto_dh_env_t *dh = NULL;
-  crypto_cipher_env_t *cipher = NULL;
   int len;
   int len;
   char *key_material=NULL;
   char *key_material=NULL;
 
 
@@ -655,12 +654,10 @@ onion_skin_server_handshake(char *onion_skin, /* ONIONSKIN_CHALLENGE_LEN bytes *
 #endif
 #endif
 
 
   tor_free(key_material);
   tor_free(key_material);
-  crypto_free_cipher_env(cipher);
   crypto_dh_free(dh);
   crypto_dh_free(dh);
   return 0;
   return 0;
  err:
  err:
   tor_free(key_material);
   tor_free(key_material);
-  if (cipher) crypto_free_cipher_env(cipher);
   if (dh) crypto_dh_free(dh);
   if (dh) crypto_dh_free(dh);
 
 
   return -1;
   return -1;