diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-01-04 13:39:02 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-01-04 13:39:02 +0000 |
commit | 603cf0a513e8d0c71ad38a2e8f8ea0bcd0f447ff (patch) | |
tree | 8897973efe9d2e8b7d4e91bd90d26ad5deb2683a /etc/etc.armv7 | |
parent | da8220d88a573ee84e80d53ebe41e10794aca594 (diff) |
Stop setting X509_V_FLAG_IGNORE_CRITICAL
Since the last bump, libcrypto knows about the RFC 3779 extensions.
Therefore, setting X509_V_FLAG_IGNORE_CRITICAL is no longer needed.
In fact, we want to error on critical extensions neither rpki-client
nor libcrypto knows about.
On older LibreSSL versions with the default verify callback, this
causes verification failures. Implement a verify callback that
intercepts X509_V_ERR_UNHANDLED_CRITICAL_EXTENSIONS and checks that
the cert doesn't contain critical extensions not supported by libcrypto
other than the expected RFC 3779 extensions.
Tested with LibreSSL 3.3 and 3.4 on OpenBSD 6.9 and 7.0-stable by me
and with LibreSSL 3.2 on Linux by claudio.
input/ok claudio
Diffstat (limited to 'etc/etc.armv7')
0 files changed, 0 insertions, 0 deletions