Browse Source

Merge branch 'maint-0.3.2' into maint-0.3.3

Nick Mathewson 6 years ago
parent
commit
58f54a3588
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/router.c

+ 1 - 1
src/or/router.c

@@ -143,7 +143,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