diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-25 03:38:19 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-25 03:38:19 +0000 |
commit | 7e2a2a7f81a735278de6011987b5cebe6502c545 (patch) | |
tree | d2e445162f982585cbbe4f24c712368ebb0d79b7 /src/or | |
parent | 0b31d0d4e8197a4de5215d8171bd9f88ffaecd2e (diff) | |
download | tor-7e2a2a7f81a735278de6011987b5cebe6502c545.tar tor-7e2a2a7f81a735278de6011987b5cebe6502c545.tar.gz |
bugfix: when rotating onion key, do it (more) correctly
svn:r1688
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index b1c8c3f88..f83bcdda3 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -61,7 +61,7 @@ void rotate_onion_key(void) log(LOG_ERR, "Error creating crypto environment."); goto error; } - if (crypto_pk_generate_key(onionkey)) { + if (crypto_pk_generate_key(prkey)) { log(LOG_ERR, "Error generating key: %s", crypto_perror()); goto error; } |