aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-x509v3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-x509v3.c b/tests/test-x509v3.c
index c472c8a..6943efc 100644
--- a/tests/test-x509v3.c
+++ b/tests/test-x509v3.c
@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
}
printf("\n\nValidating certificate chain\n");
- if (x509_certificate_chain_validate(last, certs, &reason) < 0) {
+ if (x509_certificate_chain_validate(last, certs, &reason, 0) < 0) {
printf("\nCertificate chain validation failed: %d\n", reason);
return -1;
}