Pass the X509_V_FLAG_CRL_CHECK flag as argument to valid_x509().
authorclaudio <claudio@openbsd.org>
Tue, 18 Jan 2022 18:19:47 +0000 (18:19 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 18 Jan 2022 18:19:47 +0000 (18:19 +0000)
commit1fc0ff0b9c966572e89693b026cf223056c74e39
treea80f6c298c26474ee32c6eec0c255343f5e6e781
parent00e3cb6a472f77a4a657993f0b6730548c605580
Pass the X509_V_FLAG_CRL_CHECK flag as argument to valid_x509().
For mfts this flag is cleared since the CRL is referenced by the MFT itself.
Also remove some if (crl != NULL) checks since they are not needed.
The functions protected by it are all handling NULL as an input.
OK job@ tb@
usr.sbin/rpki-client/parser.c