summaryrefslogtreecommitdiffstats
path: root/test/evp_extra_test.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-12-09 11:51:48 +0000
committerMatt Caswell <matt@openssl.org>2019-12-16 14:27:16 +0000
commit32c869ffaba67822602ea9fec611272ff8e8db58 (patch)
tree65c0d42983329baef6ca5f07406fea46995a8823 /test/evp_extra_test.c
parent1aeec3dbc2d62f902698b1eba9ed31cbd436f9dc (diff)
Ensure EVP_PKEY_set1_DH detects X9.42 keys
OpenSSL supports both PKCS#3 and X9.42 DH keys. By default we use PKCS#3 keys. The function `EVP_PKEY_set1_DH` was assuming that the supplied DH key was a PKCS#3 key. It should detect what type of key it is and assign the correct type as appropriate. Fixes #10592 Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10593)
Diffstat (limited to 'test/evp_extra_test.c')
0 files changed, 0 insertions, 0 deletions