diff options
author | tb <> | 2023-04-21 06:45:56 +0000 |
---|---|---|
committer | tb <> | 2023-04-21 06:45:56 +0000 |
commit | a3400b9c38f0bdafb1f2a52b6823e26bd5fcc0ac (patch) | |
tree | cde8e3ea87bfdf758642f5bad2c13152d45a04bb /src/lib | |
parent | 800bdf8c9aa4299de4237c15d63e4a201a02c594 (diff) | |
download | openbsd-a3400b9c38f0bdafb1f2a52b6823e26bd5fcc0ac.tar.gz openbsd-a3400b9c38f0bdafb1f2a52b6823e26bd5fcc0ac.tar.bz2 openbsd-a3400b9c38f0bdafb1f2a52b6823e26bd5fcc0ac.zip |
Uncomment and document X.509 verifier error codes
These are in actual use, so their meaning should be documented.
The remaining commented codes are unused outside of x509_txt.c
except for X509_V_ERR_INVALID_NON_CA which looks used at first
glance, but it is actually in an unreachable path of the legacy
verifier.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/X509_STORE_CTX_get_error.3 | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3 b/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3 index 48af7d9af7..30e4024736 100644 --- a/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3 +++ b/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: X509_STORE_CTX_get_error.3,v 1.25 2022/11/29 19:52:48 tb Exp $ | 1 | .\" $OpenBSD: X509_STORE_CTX_get_error.3,v 1.26 2023/04/21 06:45:56 tb Exp $ |
2 | .\" full merge up to: | 2 | .\" full merge up to: |
3 | .\" OpenSSL man3/X509_STORE_CTX_get_error 24a535ea Sep 22 13:14:20 2020 +0100 | 3 | .\" OpenSSL man3/X509_STORE_CTX_get_error 24a535ea Sep 22 13:14:20 2020 +0100 |
4 | .\" OpenSSL man3/X509_STORE_CTX_new 24a535ea Sep 22 13:14:20 2020 +0100 | 4 | .\" OpenSSL man3/X509_STORE_CTX_new 24a535ea Sep 22 13:14:20 2020 +0100 |
@@ -68,7 +68,7 @@ | |||
68 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 68 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
69 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 69 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
70 | .\" | 70 | .\" |
71 | .Dd $Mdocdate: November 29 2022 $ | 71 | .Dd $Mdocdate: April 21 2023 $ |
72 | .Dt X509_STORE_CTX_GET_ERROR 3 | 72 | .Dt X509_STORE_CTX_GET_ERROR 3 |
73 | .Os | 73 | .Os |
74 | .Sh NAME | 74 | .Sh NAME |
@@ -485,14 +485,24 @@ This is only set if issuer check debugging is enabled it is used for | |||
485 | status notification and is | 485 | status notification and is |
486 | .Sy not | 486 | .Sy not |
487 | in itself an error. | 487 | in itself an error. |
488 | .\" .It Dv X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER : \ | 488 | .It Dv X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER : \ |
489 | .\" No unable to get CRL issuer certificate | 489 | No unable to get CRL issuer certificate |
490 | .\" .It Dv X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION : \ | 490 | The CRL's issuer could not be found: |
491 | .\" No unhandled critical extension | 491 | there is no alternative CRL issuer set on |
492 | .\" .It Dv X509_V_ERR_KEYUSAGE_NO_CRL_SIGN : \ | 492 | .Ar ctx |
493 | .\" No key usage does not include CRL signing | 493 | and the last certificate in the chain is not self signed. |
494 | .\" .It Dv X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION : \ | 494 | .It Dv X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION : \ |
495 | .\" No unhandled critical CRL extension | 495 | No unhandled critical extension |
496 | The certificate contains a critical extension that is unsupported | ||
497 | by the library. | ||
498 | .It Dv X509_V_ERR_KEYUSAGE_NO_CRL_SIGN : \ | ||
499 | No key usage does not include CRL signing | ||
500 | The CRL issuer has a key usage extension with unset cRLSign bit. | ||
501 | .It Dv X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION : \ | ||
502 | No unhandled critical CRL extension | ||
503 | The CRL contains a critical extension that is unsupported | ||
504 | by the library. | ||
505 | .\" XXX - The following are unreachable (X509_V_ERR_INVALID_NON_CA) or unused. | ||
496 | .\" .It Dv X509_V_ERR_INVALID_NON_CA : \ | 506 | .\" .It Dv X509_V_ERR_INVALID_NON_CA : \ |
497 | .\" No invalid non-CA certificate (has CA markings) | 507 | .\" No invalid non-CA certificate (has CA markings) |
498 | .\" .It Dv X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED : \ | 508 | .\" .It Dv X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED : \ |