From 5d7c222db8f26a53c00646cc1dde2bdded38027e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 6 Sep 2004 18:43:01 +0000 Subject: New X509_VERIFY_PARAM structure and associated functionality. This tidies up verify parameters and adds support for integrated policy checking. Add support for policy related command line options. Currently only in smime application. WARNING: experimental code subject to change. --- crypto/x509/x509_txt.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crypto/x509/x509_txt.c') diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c index e31ebc6741..ddc3b9b355 100644 --- a/crypto/x509/x509_txt.c +++ b/crypto/x509/x509_txt.c @@ -153,6 +153,15 @@ const char *X509_verify_cert_error_string(long n) case X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION: return("unhandled critical CRL extension"); + case X509_V_ERR_INVALID_EXTENSION: + return("invalid or inconsistent certificate extension"); + + case X509_V_ERR_INVALID_POLICY_EXTENSION: + return("invalid or inconsistent certificate policy extension"); + + case X509_V_ERR_NO_EXPLICIT_POLICY: + return("no explicit policy"); + default: BIO_snprintf(buf,sizeof buf,"error number %ld",n); return(buf); -- cgit v1.2.3