From: Andy Polyakov Date: Mon, 23 Jul 2018 20:26:30 +0000 (+0200) Subject: apps/dsaparam.c: make dsaparam -C output strict-warnings-friendly. X-Git-Tag: OpenSSL_1_1_0i~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=793e7eafd46a39f6345d7113a517c5ee5c2c6884;p=oweals%2Fopenssl.git apps/dsaparam.c: make dsaparam -C output strict-warnings-friendly. Reviewed-by: Rich Salz (cherry picked from commit d6b50b6e2ebc0c198877b5c56ae0a54cb9036088) --- diff --git a/apps/dsaparam.c b/apps/dsaparam.c index 46e3abcafd..20891cf3dd 100644 --- a/apps/dsaparam.c +++ b/apps/dsaparam.c @@ -226,7 +226,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);