diff options
author | Roger Dingledine <arma@torproject.org> | 2006-01-17 02:31:04 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-01-17 02:31:04 +0000 |
commit | 76f1b7415b89083c5bcc9e13a4de0a98446eb9cc (patch) | |
tree | d32c4e3b1ee79443aedfd74901acaee6a256d87d /src | |
parent | a789e1ec3804cd36b60217efdd870ab95c4103e1 (diff) | |
download | tor-76f1b7415b89083c5bcc9e13a4de0a98446eb9cc.tar.gz tor-76f1b7415b89083c5bcc9e13a4de0a98446eb9cc.zip |
try to detect an assert error earlier
svn:r5834
Diffstat (limited to 'src')
-rw-r--r-- | src/or/router.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c index d83de02221..9775a6317d 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -63,6 +63,7 @@ dup_onion_keys(crypto_pk_env_t **key, crypto_pk_env_t **last) tor_assert(key); tor_assert(last); tor_mutex_acquire(key_lock); + tor_assert(onionkey); *key = crypto_pk_dup_key(onionkey); if (lastonionkey) *last = crypto_pk_dup_key(lastonionkey); |