aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_txt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-12-25 20:45:59 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-12-25 20:45:59 +0000
commit2b3936e8825efa15eceaa41ba6d3486dfc6ee2c0 (patch)
tree575fc8a86270ba93cb4b4c169699f19240e2f2b1 /crypto/x509/x509_txt.c
parentc596b2ab5b47b00db619ff3b9cba37697ad93679 (diff)
downloadopenssl-2b3936e8825efa15eceaa41ba6d3486dfc6ee2c0.tar.gz
avoid verification loops in trusted store when path building
Diffstat (limited to 'crypto/x509/x509_txt.c')
-rw-r--r--crypto/x509/x509_txt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c
index c44f753c46..9a0911a304 100644
--- a/crypto/x509/x509_txt.c
+++ b/crypto/x509/x509_txt.c
@@ -183,6 +183,8 @@ const char *X509_verify_cert_error_string(long n)
return("unsupported or invalid name syntax");
case X509_V_ERR_CRL_PATH_VALIDATION_ERROR:
return("CRL path validation error");
+ case X509_V_ERR_PATH_LOOP:
+ return("Path Loop");
default:
BIO_snprintf(buf,sizeof buf,"error number %ld",n);