[or-cvs] bugfix: when rotating onion key, do it (more) correctly
Roger Dingledine
arma at seul.org
Sun Apr 25 03:38:21 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
router.c
Log Message:
bugfix: when rotating onion key, do it (more) correctly
Index: router.c
===================================================================
RCS file: /home/or/cvsroot/src/or/router.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- router.c 24 Apr 2004 23:32:24 -0000 1.28
+++ router.c 25 Apr 2004 03:38:19 -0000 1.29
@@ -61,7 +61,7 @@
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;
}
More information about the tor-commits
mailing list