EVP_PKEY & DSA: Make DSA EVP_PKEY_CTX parameter ctrls / setters more available
authorRichard Levitte <levitte@openssl.org>
Thu, 26 Nov 2020 10:58:56 +0000 (11:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 27 Nov 2020 14:30:51 +0000 (15:30 +0100)
commit888bdbfd398c967daaa00cf6b3d104f0e3d26865
treedd06561974c9daca851a53db77209f34a9c14147
parenta614af95531dd9f168aa4b71bd1195b4fdfe1794
EVP_PKEY & DSA: Make DSA EVP_PKEY_CTX parameter ctrls / setters more available

EVP_PKEY_CTX_set_dsa_ functions were only available when DSA was
enabled ('no-dsa' not configured).  However, that makes it impossible
to use these functions with an engine or a provider that happens to
implement DSA.  This change solves that problem by shuffling these
functions to more appropriate places.

Fixes #13529

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13530)
crypto/dsa/dsa_lib.c
crypto/evp/build.info
crypto/evp/dsa_ctrl.c [new file with mode: 0644]
include/openssl/dsa.h
util/libcrypto.num