summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2023-01-16 08:38:01 +0100
committerDr. David von Oheimb <dev@ddvo.net>2023-01-23 11:01:01 +0100
commit21c06d4ac98bd377ece189bf366a11643a9ec6ed (patch)
tree1253954e73d73d59482b1c7c08e81000e28f9b93 /crypto
parent605a13842acb62c468e05c3e49330fe1ba42a127 (diff)
X509_V_ERR_INVALID_PURPOSE: fix misleading text; Fix omission in X509_VERIFY_PARAM_clear_flags doc
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/20052) (cherry picked from commit ec6cbda0f2e435ae0efaec308dc5569c75bb759b)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x509/x509_txt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c
index 0c7ae1ed79..54decf7332 100644
--- a/crypto/x509/x509_txt.c
+++ b/crypto/x509/x509_txt.c
@@ -74,7 +74,7 @@ const char *X509_verify_cert_error_string(long n)
case X509_V_ERR_PATH_LENGTH_EXCEEDED:
return "path length constraint exceeded";
case X509_V_ERR_INVALID_PURPOSE:
- return "unsupported certificate purpose";
+ return "unsuitable certificate purpose";
case X509_V_ERR_CERT_UNTRUSTED:
return "certificate not trusted";
case X509_V_ERR_CERT_REJECTED: