Test that EVP_PKEY_set1_DH() correctly identifies the DH type
authorMatt Caswell <matt@openssl.org>
Mon, 9 Dec 2019 12:03:02 +0000 (12:03 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 16 Dec 2019 14:27:26 +0000 (14:27 +0000)
commite295de1d8433ed07092845cb6c56aa424ff35c6d
tree1a04bfda9aaa55a7d4b7b15b09540bc67ac2eea4
parent32c869ffaba67822602ea9fec611272ff8e8db58
Test that EVP_PKEY_set1_DH() correctly identifies the DH type

Provide a test to check tat when we assign a DH object we know whether
we are dealing with PKCS#3 or X9.42 DH keys.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10593)
test/evp_extra_test.c