Fix two missing checks in the SIA extension
authortb <tb@openbsd.org>
Tue, 5 Apr 2022 03:56:20 +0000 (03:56 +0000)
committertb <tb@openbsd.org>
Tue, 5 Apr 2022 03:56:20 +0000 (03:56 +0000)
commit85c5c716c7d722adf664a046c376aa1b8dbfca8f
tree4e52d9fdebcd6add679e24b3fcba687266b4934c
parent20893ee5766ecb1fe6ea41e41e6932d8685a18fe
Fix two missing checks in the SIA extension

Make sure that the caRepository and rpkiManifest are present before
calling strstr on them. Also check that the extension is not critical.

ok claudio deraadt
usr.sbin/rpki-client/cert.c