diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2023-02-27 19:22:33 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-03-15 08:32:18 +1100 |
commit | 1caa4835eb140682ba091bf328758fc6535e70bc (patch) | |
tree | 670cfea7aa6c62756a16c0dbc18996573bd31e74 /crypto | |
parent | 6d45fd47f4849c8dc55b8dd5fa1e1b8a158774a0 (diff) |
doc/man3/X509_STORE_CTX_get_error.pod: make order consistent, add some missing entries
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20450)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/x509/x509_txt.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c index 54decf7332..8fb38cf3e9 100644 --- a/crypto/x509/x509_txt.c +++ b/crypto/x509/x509_txt.c @@ -179,7 +179,7 @@ const char *X509_verify_cert_error_string(long n) case X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH: return "subject signature algorithm and issuer public key algorithm mismatch"; case X509_V_ERR_SIGNATURE_ALGORITHM_INCONSISTENCY: - return "cert info siganature and signature algorithm mismatch"; + return "cert info signature and signature algorithm mismatch"; case X509_V_ERR_INVALID_CA: return "invalid CA certificate"; case X509_V_ERR_PATHLEN_INVALID_FOR_NON_CA: @@ -213,6 +213,11 @@ const char *X509_verify_cert_error_string(long n) case X509_V_ERR_EC_KEY_EXPLICIT_PARAMS: return "Certificate public key has explicit ECC parameters"; + /* + * Entries must be kept consistent with include/openssl/x509_vfy.h.in + * and with doc/man3/X509_STORE_CTX_get_error.pod + */ + default: /* Printing an error number into a static buffer is not thread-safe */ return "unknown certificate verification error"; |