GOST MAC algorithms don't support EVP_PKEY_new_raw_private_key()
authorMatt Caswell <matt@openssl.org>
Fri, 30 Mar 2018 13:33:55 +0000 (14:33 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Mar 2018 18:28:33 +0000 (19:28 +0100)
commit7b4d3ffaf6d7dc68cc492b04e3870b0b3ee08a6f
treecdc36c69871c7d0954c4de082e56a76db84288ee
parent83cf3423f011c154d161e4545fa02bc569430011
GOST MAC algorithms don't support EVP_PKEY_new_raw_private_key()

We should use the old EVP_PKEY_new_mac_key() instead.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5808)
ssl/t1_enc.c