diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_txt.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_txt.c | 18 |
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 | ||
73 | char *X509_verify_cert_error_string(n) | 72 | const char *X509_verify_cert_error_string(long n) |
74 | long 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: |