diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-12-07 01:32:34 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-12-07 01:32:34 +0100 |
commit | afb14cda8c70d18b97bbf3419bd308ba5b65f3b9 (patch) | |
tree | 43a957b007b873f03c827709ab6a02b8be3dc985 /crypto/asn1/ameth_lib.c | |
parent | The default CN prompt message can be confusing when often the CN needs to (diff) | |
download | openssl-afb14cda8c70d18b97bbf3419bd308ba5b65f3b9.tar.xz openssl-afb14cda8c70d18b97bbf3419bd308ba5b65f3b9.zip |
Initial experimental support for X9.42 DH parameter format to handle
RFC5114 parameters and X9.42 DH public and private keys.
Diffstat (limited to 'crypto/asn1/ameth_lib.c')
-rw-r--r-- | crypto/asn1/ameth_lib.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c index a19e058fca..5fff226120 100644 --- a/crypto/asn1/ameth_lib.c +++ b/crypto/asn1/ameth_lib.c @@ -67,6 +67,7 @@ extern const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[]; extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[]; extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; +extern const EVP_PKEY_ASN1_METHOD dhx_asn1_meth; extern const EVP_PKEY_ASN1_METHOD eckey_asn1_meth; extern const EVP_PKEY_ASN1_METHOD hmac_asn1_meth; extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; @@ -92,7 +93,10 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = &eckey_asn1_meth, #endif &hmac_asn1_meth, - &cmac_asn1_meth + &cmac_asn1_meth, +#ifndef OPENSSL_NO_DH + &dhx_asn1_meth +#endif }; typedef int sk_cmp_fn_type(const char * const *a, const char * const *b); |