]> git.ipfire.org Git - thirdparty/openssl.git/commit
Test that OSSL_STORE can load various types of params
authorMatt Caswell <matt@openssl.org>
Wed, 18 Nov 2020 12:07:43 +0000 (12:07 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Nov 2020 10:02:59 +0000 (10:02 +0000)
commit1950e0e3e796a066a0de95330f67d2da9d2c93e5
treef112953b0b5b6f99cb45371859ee25bf465a3567
parentcdbd27bab4d981cb48327199ef89308e6ef36733
Test that OSSL_STORE can load various types of params

There have been instances where OSSL_STORE got confused between DSA and
DH params (e.g. see issue #13046) due the DER encoding of DH and DSA params
looking identical. Therefore we test that we get the types that we expect.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13329)
test/ossl_store_test.c
test/recipes/66-test_ossl_store.t
test/recipes/66-test_ossl_store_data/DH-params.pem [new file with mode: 0644]
test/recipes/66-test_ossl_store_data/DHX-params.pem [new file with mode: 0644]
test/recipes/66-test_ossl_store_data/DSA-params.pem [new file with mode: 0644]