diff options
author | beck <> | 2000-03-19 11:13:58 +0000 |
---|---|---|
committer | beck <> | 2000-03-19 11:13:58 +0000 |
commit | 796d609550df3a33fc11468741c5d2f6d3df4c11 (patch) | |
tree | 6c6d539061caa20372dad0ac4ddb1dfae2fbe7fe /src/lib/libcrypto/x509/x509_txt.c | |
parent | 5be3114c1fd7e0dfea1e38d3abb4cbba75244419 (diff) | |
download | openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.gz openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.bz2 openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.zip |
OpenSSL 0.9.5 merge
*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
Diffstat (limited to 'src/lib/libcrypto/x509/x509_txt.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_txt.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c index 11a3d2012f..209cf53191 100644 --- a/src/lib/libcrypto/x509/x509_txt.c +++ b/src/lib/libcrypto/x509/x509_txt.c | |||
@@ -59,7 +59,6 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <time.h> | 60 | #include <time.h> |
61 | #include <errno.h> | 61 | #include <errno.h> |
62 | #include <sys/types.h> | ||
63 | 62 | ||
64 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
65 | #include <openssl/lhash.h> | 64 | #include <openssl/lhash.h> |
@@ -121,6 +120,16 @@ const char *X509_verify_cert_error_string(long n) | |||
121 | return("certificate chain too long"); | 120 | return("certificate chain too long"); |
122 | case X509_V_ERR_CERT_REVOKED: | 121 | case X509_V_ERR_CERT_REVOKED: |
123 | return("certificate revoked"); | 122 | return("certificate revoked"); |
123 | case X509_V_ERR_INVALID_CA: | ||
124 | return ("invalid CA certificate"); | ||
125 | case X509_V_ERR_PATH_LENGTH_EXCEEDED: | ||
126 | return ("path length constraint exceeded"); | ||
127 | case X509_V_ERR_INVALID_PURPOSE: | ||
128 | return ("unsupported certificate purpose"); | ||
129 | case X509_V_ERR_CERT_UNTRUSTED: | ||
130 | return ("certificate not trusted"); | ||
131 | case X509_V_ERR_CERT_REJECTED: | ||
132 | return ("certificate rejected"); | ||
124 | case X509_V_ERR_APPLICATION_VERIFICATION: | 133 | case X509_V_ERR_APPLICATION_VERIFICATION: |
125 | return("application verification failure"); | 134 | return("application verification failure"); |
126 | default: | 135 | default: |