Update X509

This commit is contained in:
Zhi Guan
2023-02-05 18:14:41 +08:00
parent 1abbd54bb8
commit 825b074ed1
6 changed files with 123 additions and 118 deletions

View File

@@ -121,7 +121,7 @@ bad:
goto end;
}
if (x509_crl_validate(crl, crl_len, time(NULL)) != 1) {
if (x509_crl_check(crl, crl_len, time(NULL)) != 1) {
fprintf(stderr, "%s: invalid CRL data or format\n", prog);
goto end;
}