diff options
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 466d97d680..bf27ff71a1 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -481,7 +481,7 @@ connection_or_check_valid_handshake(connection_t *conn, char *digest_rcvd) log_fn(LOG_DEBUG, "Other side (%s:%d) claims to be router '%s'", conn->address, conn->port, nickname); - if (tor_tls_verify(conn->tls, &identity_rcvd) < 0) { + if (tor_tls_verify(severity, conn->tls, &identity_rcvd) < 0) { log_fn(LOG_WARN,"Other side, which claims to be router '%s' (%s:%d), has a cert but it's invalid. Closing.", nickname, conn->address, conn->port); return -1; |