[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] bugfix: when rotating onion key, do it (more) correctly
- To: or-cvs@freehaven.net
- Subject: [or-cvs] bugfix: when rotating onion key, do it (more) correctly
- From: arma@seul.org (Roger Dingledine)
- Date: Sat, 24 Apr 2004 23:38:21 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sat, 24 Apr 2004 23:39:00 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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;
}