aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-25 08:01:54 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-25 08:01:54 -0400
commita052eea4803808d4da09ef8728de22344d1241be (patch)
tree840f356aa06f3d9291d6317572d80a6262e284ca /src
parent8664f76dd202ec6514c06207c37fe9ae340f2f0f (diff)
parent58f54a3588cf722a31b10fa0450225f7685c8629 (diff)
downloadtor-a052eea4803808d4da09ef8728de22344d1241be.tar.gz
tor-a052eea4803808d4da09ef8728de22344d1241be.zip
Merge branch 'maint-0.3.3'
Diffstat (limited to 'src')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index ec49473cc2..93b61b69ef 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -150,7 +150,7 @@ dup_onion_keys(crypto_pk_t **key, crypto_pk_t **last)
if (onionkey)
*key = crypto_pk_copy_full(onionkey);
else
- *last = NULL;
+ *key = NULL;
if (lastonionkey)
*last = crypto_pk_copy_full(lastonionkey);
else