aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-11-07 14:17:46 +0000
committerNick Mathewson <nickm@torproject.org>2008-11-07 14:17:46 +0000
commitaa405f29e6a54df70d446b9a17f2c98671ad727f (patch)
tree1fdaa4889f4b179d278adef12e1c2432d3564c0a /src/or/dirvote.c
parent5e2cdc166621da9e219e305f2de6e10de412cb97 (diff)
downloadtor-aa405f29e6a54df70d446b9a17f2c98671ad727f.tar
tor-aa405f29e6a54df70d446b9a17f2c98671ad727f.tar.gz
fix up signs in r17208
svn:r17211
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 07bbb159b..c3ab6bda1 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1576,7 +1576,7 @@ dirvote_perform_vote(void)
if (!cert || !key) {
log_warn(LD_NET, "Didn't find key/certificate to generate v3 vote");
return -1;
- } else if (now < cert->expires) {
+ } else if (cert->expires < now) {
log_warn(LD_NET, "Can't generate v3 vote with expired certificate");
return -1;
}