diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-11-29 20:23:57 +0100 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-12-04 16:20:53 +0100 |
commit | e3a4d3bb615fbebe053efafdd4a040737dc2197c (patch) | |
tree | 538f0cab118bef515ad4a14716f4e93e6dd09a16 /fuzz | |
parent | encode_key2text.c: Fix build error on OPENSSL_NO_{DH,DSA,EC} (diff) | |
download | openssl-e3a4d3bb615fbebe053efafdd4a040737dc2197c.tar.xz openssl-e3a4d3bb615fbebe053efafdd4a040737dc2197c.zip |
fuzz/server.c: Fix build error on OPENSSL_NO_{DSA,EC,DEPECATED_3_0}
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13110)
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fuzz/server.c b/fuzz/server.c index 4055b58222..26c1c172cf 100644 --- a/fuzz/server.c +++ b/fuzz/server.c @@ -521,7 +521,10 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) RSA *privkey; #endif const uint8_t *bufp; +#if !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_EC) \ + || !defined(OPENSSL_NO_DEPRECATED_3_0) EVP_PKEY *pkey; +#endif X509 *cert; #ifndef OPENSSL_NO_EC EC_KEY *ecdsakey = NULL; |