diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-11-29 22:54:18 +0100 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-12-04 16:20:53 +0100 |
commit | 8ce3244c5744a99b172876eb2ae9b29e877d2d89 (patch) | |
tree | 80da30ceaf27bd724ddc98ac8a53b5b4e77a4aa8 /providers/implementations/encode_decode | |
parent | 01b7708138e4f4b54283b456c50b2b33d41a02f1 (diff) |
encode_key2text.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)
Diffstat (limited to 'providers/implementations/encode_decode')
-rw-r--r-- | providers/implementations/encode_decode/encode_key2text.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/implementations/encode_decode/encode_key2text.c b/providers/implementations/encode_decode/encode_key2text.c index 92efb0436e..4d33d869ed 100644 --- a/providers/implementations/encode_decode/encode_key2text.c +++ b/providers/implementations/encode_decode/encode_key2text.c @@ -126,6 +126,7 @@ err: /* Number of octets per line */ #define LABELED_BUF_PRINT_WIDTH 15 +#if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_EC) static int print_labeled_buf(BIO *out, const char *label, const unsigned char *buf, size_t buflen) { @@ -151,6 +152,7 @@ static int print_labeled_buf(BIO *out, const char *label, return 1; } +#endif #if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_DSA) static int ffc_params_to_text(BIO *out, const FFC_PARAMS *ffc) |