commit 7c3f87eb4b2c3c4ce3422b3561bee36f3c9956c1
parent 89a3fafd49c046c3cd1c9c34f7db4798272f9ffb
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 25 Apr 2018 08:01:53 -0400
Merge branch 'maint-0.3.1' into maint-0.3.2
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/router.c b/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