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)
=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>