summaryrefslogtreecommitdiff
path: root/src/or/channeltls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r--src/or/channeltls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c
index cf57c29afb..9315f80fb8 100644
--- a/src/or/channeltls.c
+++ b/src/or/channeltls.c
@@ -1918,7 +1918,8 @@ channel_tls_process_certs_cell(var_cell_t *cell, channel_tls_t *chan)
if (! or_handshake_certs_rsa_ok(severity,
chan->conn->handshake_state->certs,
- chan->conn->tls))
+ chan->conn->tls,
+ time(NULL)))
ERR("Invalid RSA certificates!");
if (chan->conn->handshake_state->started_here) {