aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_txt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-11-24 01:31:49 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-11-24 01:31:49 +0000
commit1126239111a89c52d301c3439d20dc0fd61649c2 (patch)
tree6fd2adc2e9e9569b892123538f5a59d4ead28e73 /crypto/x509/x509_txt.c
parent6d3724d3b0e0b2dff99feb815d46ef41e65db0d2 (diff)
downloadopenssl-1126239111a89c52d301c3439d20dc0fd61649c2.tar.gz
Initial chain verify code: not tested probably not working
at present. However nothing enables it yet so this doesn't matter :-)
Diffstat (limited to 'crypto/x509/x509_txt.c')
-rw-r--r--crypto/x509/x509_txt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c
index 60c48f1248..b6f61c5e57 100644
--- a/crypto/x509/x509_txt.c
+++ b/crypto/x509/x509_txt.c
@@ -120,6 +120,12 @@ const char *X509_verify_cert_error_string(long n)
return("certificate chain too long");
case X509_V_ERR_CERT_REVOKED:
return("certificate revoked");
+ case X509_V_ERR_INVALID_CA:
+ return ("invalid CA certificate");
+ case X509_V_ERR_PATH_LENGTH_EXCEEDED:
+ return ("path length constraint exceeded");
+ case X509_V_ERR_INVALID_PURPOSE:
+ return ("unsupported certificate purpose");
case X509_V_ERR_APPLICATION_VERIFICATION:
return("application verification failure");
default: