evp_pkey_dparams_test.c: Fix build error on OPENSSL_NO_{DH,DSA,EC}

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13110)
This commit is contained in:
Dr. David von Oheimb 2020-11-29 20:35:49 +01:00
parent 821d6f8c67
commit 0191854154

View File

@ -89,6 +89,7 @@ static const unsigned char ecparam_bin[] = {
};
#endif
#if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_EC)
static const struct {
int type;
const unsigned char *param_bin;
@ -105,7 +106,6 @@ static const struct {
#endif
};
#if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_EC)
static int params_bio_test(int id)
{
int ret, out_len;