From 9ca7047d7141f58b4a4c9e1cdfc0d49301358095 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 16 Apr 2006 16:15:59 +0000 Subject: Provisional support for EC pkey method, supporting ECDH and ECDSA. --- crypto/evp/pmeth_lib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crypto/evp/pmeth_lib.c') diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index ae3baea..d68972c 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, -- cgit v1.1