Fix test-x509v3 build

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2011-11-04 22:10:54 +02:00
parent ae055af4f7
commit 717cc12f60

View file

@ -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;
}