commit a052eea4803808d4da09ef8728de22344d1241be
parent 8664f76dd202ec6514c06207c37fe9ae340f2f0f
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 25 Apr 2018 08:01:54 -0400
Merge branch 'maint-0.3.3'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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