summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_txt.c
diff options
context:
space:
mode:
authorbeck <>1999-09-29 04:37:45 +0000
committerbeck <>1999-09-29 04:37:45 +0000
commitde8f24ea083384bb66b32ec105dc4743c5663cdf (patch)
tree1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/x509/x509_txt.c
parentcb929d29896bcb87c2a97417fbd03e50078fc178 (diff)
downloadopenbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/x509/x509_txt.c')
-rw-r--r--src/lib/libcrypto/x509/x509_txt.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c
index 408d1c277c..11a3d2012f 100644
--- a/src/lib/libcrypto/x509/x509_txt.c
+++ b/src/lib/libcrypto/x509/x509_txt.c
@@ -62,16 +62,14 @@
62#include <sys/types.h> 62#include <sys/types.h>
63 63
64#include "cryptlib.h" 64#include "cryptlib.h"
65#include "lhash.h" 65#include <openssl/lhash.h>
66#include "buffer.h" 66#include <openssl/buffer.h>
67#include "evp.h" 67#include <openssl/evp.h>
68#include "asn1.h" 68#include <openssl/asn1.h>
69#include "x509.h" 69#include <openssl/x509.h>
70#include "objects.h" 70#include <openssl/objects.h>
71#include "pem.h"
72 71
73char *X509_verify_cert_error_string(n) 72const char *X509_verify_cert_error_string(long n)
74long n;
75 { 73 {
76 static char buf[100]; 74 static char buf[100];
77 75
@@ -121,6 +119,8 @@ long n;
121 return("unable to verify the first certificate"); 119 return("unable to verify the first certificate");
122 case X509_V_ERR_CERT_CHAIN_TOO_LONG: 120 case X509_V_ERR_CERT_CHAIN_TOO_LONG:
123 return("certificate chain too long"); 121 return("certificate chain too long");
122 case X509_V_ERR_CERT_REVOKED:
123 return("certificate revoked");
124 case X509_V_ERR_APPLICATION_VERIFICATION: 124 case X509_V_ERR_APPLICATION_VERIFICATION:
125 return("application verification failure"); 125 return("application verification failure");
126 default: 126 default: