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