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/x509v3/v3_enum.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/x509v3/v3_enum.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_enum.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_enum.c b/src/lib/libcrypto/x509v3/v3_enum.c index db423548ff..aecfdc87f8 100644 --- a/src/lib/libcrypto/x509v3/v3_enum.c +++ b/src/lib/libcrypto/x509v3/v3_enum.c | |||
@@ -60,8 +60,6 @@ | |||
60 | #include "cryptlib.h" | 60 | #include "cryptlib.h" |
61 | #include <openssl/x509v3.h> | 61 | #include <openssl/x509v3.h> |
62 | 62 | ||
63 | static ASN1_ENUMERATED *asn1_enumerated_new(void); | ||
64 | |||
65 | static ENUMERATED_NAMES crl_reasons[] = { | 63 | static ENUMERATED_NAMES crl_reasons[] = { |
66 | {0, "Unspecified", "unspecified"}, | 64 | {0, "Unspecified", "unspecified"}, |
67 | {1, "Key Compromise", "keyCompromise"}, | 65 | {1, "Key Compromise", "keyCompromise"}, |
@@ -76,20 +74,15 @@ static ENUMERATED_NAMES crl_reasons[] = { | |||
76 | 74 | ||
77 | X509V3_EXT_METHOD v3_crl_reason = { | 75 | X509V3_EXT_METHOD v3_crl_reason = { |
78 | NID_crl_reason, 0, | 76 | NID_crl_reason, 0, |
79 | (X509V3_EXT_NEW)asn1_enumerated_new, | 77 | (X509V3_EXT_NEW)ASN1_ENUMERATED_new, |
80 | (X509V3_EXT_FREE)ASN1_STRING_free, | 78 | (X509V3_EXT_FREE)ASN1_ENUMERATED_free, |
81 | (X509V3_EXT_D2I)d2i_ASN1_ENUMERATED, | 79 | (X509V3_EXT_D2I)d2i_ASN1_ENUMERATED, |
82 | (X509V3_EXT_I2D)i2d_ASN1_ENUMERATED, | 80 | (X509V3_EXT_I2D)i2d_ASN1_ENUMERATED, |
83 | (X509V3_EXT_I2S)i2s_ASN1_ENUMERATED_TABLE, | 81 | (X509V3_EXT_I2S)i2s_ASN1_ENUMERATED_TABLE, |
84 | (X509V3_EXT_S2I)NULL, | 82 | (X509V3_EXT_S2I)0, |
85 | NULL, NULL, NULL, NULL, crl_reasons}; | 83 | NULL, NULL, NULL, NULL, crl_reasons}; |
86 | 84 | ||
87 | 85 | ||
88 | static ASN1_ENUMERATED *asn1_enumerated_new(void) | ||
89 | { | ||
90 | return ASN1_ENUMERATED_new(); | ||
91 | } | ||
92 | |||
93 | char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *method, | 86 | char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *method, |
94 | ASN1_ENUMERATED *e) | 87 | ASN1_ENUMERATED *e) |
95 | { | 88 | { |