aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_client_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tlsv1_client_read.c')
-rw-r--r--src/tls/tlsv1_client_read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tlsv1_client_read.c b/src/tls/tlsv1_client_read.c
index ed3f260..faa891a 100644
--- a/src/tls/tlsv1_client_read.c
+++ b/src/tls/tlsv1_client_read.c
@@ -365,7 +365,8 @@ static int tls_process_certificate(struct tlsv1_client *conn, u8 ct,
if (conn->cred &&
x509_certificate_chain_validate(conn->cred->trusted_certs, chain,
- &reason) < 0) {
+ &reason, conn->disable_time_checks)
+ < 0) {
int tls_reason;
wpa_printf(MSG_DEBUG, "TLSv1: Server certificate chain "
"validation failed (reason=%d)", reason);