diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-16 16:15:59 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-16 16:15:59 +0000 |
commit | 9ca7047d7141f58b4a4c9e1cdfc0d49301358095 (patch) | |
tree | 8986a8cb837bd35d38f948c130b9630ad4128153 /crypto/evp/pmeth_lib.c | |
parent | ba3b2f153815341ef9a0eab1bb8e394bc797a196 (diff) |
Provisional support for EC pkey method, supporting ECDH and ECDSA.
Diffstat (limited to 'crypto/evp/pmeth_lib.c')
-rw-r--r-- | crypto/evp/pmeth_lib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index ae3baea96e..d68972c7c4 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -67,13 +67,14 @@ typedef int sk_cmp_fn_type(const char * const *a, const char * const *b); STACK *app_pkey_methods = NULL; -extern EVP_PKEY_METHOD rsa_pkey_meth, dh_pkey_meth, dsa_pkey_meth; +extern EVP_PKEY_METHOD rsa_pkey_meth, dh_pkey_meth, dsa_pkey_meth, ec_pkey_meth; static const EVP_PKEY_METHOD *standard_methods[] = { &rsa_pkey_meth, &dh_pkey_meth, - &dsa_pkey_meth + &dsa_pkey_meth, + &ec_pkey_meth }; static int pmeth_cmp(const EVP_PKEY_METHOD * const *a, |