diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-04-11 12:33:06 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-04-11 12:33:06 +0000 |
commit | 74633553a912519a6e73a9d830132e58f420a6c9 (patch) | |
tree | ad4b498680c993039f5b6371fd53c0091c828801 /crypto/evp/pmeth_lib.c | |
parent | 376bf1d4aaddbc7645b364e6963b34951fe51f9b (diff) |
Experimental HMAC support via EVP_PKEY_METHOD.
Diffstat (limited to 'crypto/evp/pmeth_lib.c')
-rw-r--r-- | crypto/evp/pmeth_lib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index 500aad967b..6abb951d0c 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -70,14 +70,16 @@ 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, ec_pkey_meth; +extern const EVP_PKEY_METHOD rsa_pkey_meth, dh_pkey_meth, dsa_pkey_meth; +extern const EVP_PKEY_METHOD ec_pkey_meth, hmac_pkey_meth; static const EVP_PKEY_METHOD *standard_methods[] = { &rsa_pkey_meth, &dh_pkey_meth, &dsa_pkey_meth, - &ec_pkey_meth + &ec_pkey_meth, + &hmac_pkey_meth, }; static int pmeth_cmp(const EVP_PKEY_METHOD * const *a, |