From d6b50b6e2ebc0c198877b5c56ae0a54cb9036088 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 23 Jul 2018 22:26:30 +0200 Subject: [PATCH] apps/dsaparam.c: make dsaparam -C output strict-warnings-friendly. Reviewed-by: Rich Salz --- apps/dsaparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dsaparam.c b/apps/dsaparam.c index ca072bb4f0..9d8af9ee6d 100644 --- a/apps/dsaparam.c +++ b/apps/dsaparam.c @@ -179,7 +179,7 @@ int dsaparam_main(int argc, char **argv) data = app_malloc(len + 20, "BN space"); - BIO_printf(bio_out, "DSA *get_dsa%d()\n{\n", bits_p); + BIO_printf(bio_out, "static DSA *get_dsa%d(void)\n{\n", bits_p); print_bignum_var(bio_out, p, "dsap", bits_p, data); print_bignum_var(bio_out, q, "dsaq", bits_p, data); print_bignum_var(bio_out, g, "dsag", bits_p, data);