aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-06 20:42:25 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-06 20:42:25 +0000
commit2446996f973884a4d3949365f6abb67d86f681ea (patch)
treea9586eef19b41c62ea26918339710689a2bd616e /src/or/onion.c
parent5eca39cdb4a1d8561950d3ab6a0d5ff87118936b (diff)
downloadtor-2446996f973884a4d3949365f6abb67d86f681ea.tar.gz
tor-2446996f973884a4d3949365f6abb67d86f681ea.zip
Remove vestigial variable
svn:r1507
Diffstat (limited to 'src/or/onion.c')
-rw-r--r--src/or/onion.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index 0664d4b3ba..3846eed6d9 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -612,7 +612,6 @@ onion_skin_server_handshake(char *onion_skin, /* ONIONSKIN_CHALLENGE_LEN bytes *
{
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 @@ onion_skin_server_handshake(char *onion_skin, /* ONIONSKIN_CHALLENGE_LEN bytes *
#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;