diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/ameth_lib.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/ameth_lib.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c index e88496cc9d..168321618c 100644 --- a/src/lib/libcrypto/asn1/ameth_lib.c +++ b/src/lib/libcrypto/asn1/ameth_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ameth_lib.c,v 1.14 2014/07/13 16:03:09 beck Exp $ */ | 1 | /* $OpenBSD: ameth_lib.c,v 1.15 2014/11/09 19:17:13 miod Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -74,6 +74,8 @@ extern const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[]; | |||
| 74 | extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[]; | 74 | extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[]; |
| 75 | extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; | 75 | extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; |
| 76 | extern const EVP_PKEY_ASN1_METHOD eckey_asn1_meth; | 76 | extern const EVP_PKEY_ASN1_METHOD eckey_asn1_meth; |
| 77 | extern const EVP_PKEY_ASN1_METHOD gostr01_asn1_meths[]; | ||
| 78 | extern const EVP_PKEY_ASN1_METHOD gostimit_asn1_meth; | ||
| 77 | extern const EVP_PKEY_ASN1_METHOD hmac_asn1_meth; | 79 | extern const EVP_PKEY_ASN1_METHOD hmac_asn1_meth; |
| 78 | extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; | 80 | extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; |
| 79 | 81 | ||
| @@ -96,8 +98,16 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { | |||
| 96 | #ifndef OPENSSL_NO_EC | 98 | #ifndef OPENSSL_NO_EC |
| 97 | &eckey_asn1_meth, | 99 | &eckey_asn1_meth, |
| 98 | #endif | 100 | #endif |
| 101 | #ifndef OPENSSL_NO_GOST | ||
| 102 | &gostr01_asn1_meths[0], | ||
| 103 | &gostimit_asn1_meth, | ||
| 104 | #endif | ||
| 99 | &hmac_asn1_meth, | 105 | &hmac_asn1_meth, |
| 100 | &cmac_asn1_meth | 106 | &cmac_asn1_meth, |
| 107 | #ifndef OPENSSL_NO_GOST | ||
| 108 | &gostr01_asn1_meths[1], | ||
| 109 | &gostr01_asn1_meths[2], | ||
| 110 | #endif | ||
| 101 | }; | 111 | }; |
| 102 | 112 | ||
| 103 | typedef int sk_cmp_fn_type(const char * const *a, const char * const *b); | 113 | typedef int sk_cmp_fn_type(const char * const *a, const char * const *b); |
