From effaf4dee90beff07bb40f21d81352304a5e8152 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sun, 31 Jan 2016 13:08:23 -0500 Subject: Use NON_EMPTY_TRANSLATION_UNIT, consistently. This also closes RT 4123 Reviewed-by: Richard Levitte --- apps/genrsa.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'apps/genrsa.c') diff --git a/apps/genrsa.c b/apps/genrsa.c index 33a1567711..0b0123fa1d 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -56,8 +56,10 @@ */ #include +#ifdef OPENSSL_NO_RSA +NON_EMPTY_TRANSLATION_UNIT +#else -#ifndef OPENSSL_NO_RSA # include # include # include @@ -232,10 +234,4 @@ static int genrsa_cb(int p, int n, BN_GENCB *cb) (void)BIO_flush(BN_GENCB_get_arg(cb)); return 1; } -#else /* !OPENSSL_NO_RSA */ - -# if PEDANTIC -static void *dummy = &dummy; -# endif - #endif -- cgit v1.2.3