Documentation: X509_V_ERR_CERT_CHAIN_TOO_LONG is not unused
authorThomas Bellebaum <91870704+bellebaum@users.noreply.github.com>
Tue, 17 May 2022 11:42:05 +0000 (13:42 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 18 May 2022 15:19:10 +0000 (17:19 +0200)
The Error `X509_V_ERR_CERT_CHAIN_TOO_LONG` is not unused. See e.g. here:

https://github.com/openssl/openssl/blob/598bd7741568a1aae678e5472f18aae1ab991e8d/crypto/x509/x509_vfy.c#L3318-L3319

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18330)

(cherry picked from commit 0db53e9312f9648874b283124655f9772dfa1690)

doc/man3/X509_STORE_CTX_get_error.pod

index 04005f3ecdb385ce3f88c7cfa1a4a7f772c55497..a8f3977445e80e327f61055e3206e59de71586a3 100644 (file)
@@ -212,7 +212,7 @@ and it is not self-signed and the B<X509_V_FLAG_PARTIAL_CHAIN> flag is not set.
 
 =item B<X509_V_ERR_CERT_CHAIN_TOO_LONG: certificate chain too long>
 
-The certificate chain length is greater than the supplied maximum depth. Unused.
+The certificate chain length is greater than the supplied maximum depth.
 
 =item B<X509_V_ERR_CERT_REVOKED: certificate revoked>