Merge pull request #2823 from testssl/fix_revocation_unittest

Fix 52_ocsp_revoked (OCSP --> CRL)
This commit is contained in:
Dirk Wetter 2025-07-03 18:14:17 +02:00 committed by GitHub
commit 6047f21a80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,8 +31,8 @@ system("@args") == 0
or die ("FAILED: \"@args\" ");
$cat_csv=`cat $csv`;
# Is the certificate revoked?
like($cat_csv, qr/"cert_ocspRevoked".*"CRITICAL","revoked"/,"The certificate should be revoked");
# Is the certificate revoked? (formerly: OCSP, now: CRL)
like($cat_csv, qr/"cert_crlRevoked".*"CRITICAL","revoked"/,"The certificate should be revoked");
$tests++;
unlink $csv;