diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-31 13:08:23 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-09 20:13:29 -0500 |
commit | effaf4dee90beff07bb40f21d81352304a5e8152 (patch) | |
tree | 4bc77d1b1998e6fac62b3a5967a223376cb47111 /apps/dsaparam.c | |
parent | 1ffa8a9685e22a5a0ff1b1322df4d1720b05ce4c (diff) | |
download | openssl-effaf4dee90beff07bb40f21d81352304a5e8152.tar.gz |
Use NON_EMPTY_TRANSLATION_UNIT, consistently.
This also closes RT 4123
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/dsaparam.c')
-rw-r--r-- | apps/dsaparam.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/dsaparam.c b/apps/dsaparam.c index c8c383faeb..7b9ca631a7 100644 --- a/apps/dsaparam.c +++ b/apps/dsaparam.c @@ -55,9 +55,11 @@ * [including the GNU Public Licence.] */ -#include <openssl/opensslconf.h> /* for OPENSSL_NO_DSA */ +#include <openssl/opensslconf.h> +#ifdef OPENSSL_NO_DSA +NON_EMPTY_TRANSLATION_UNIT +#else -#ifndef OPENSSL_NO_DSA # include <stdio.h> # include <stdlib.h> # include <time.h> @@ -347,10 +349,4 @@ static int dsa_cb(int p, int n, BN_GENCB *cb) # endif return 1; } -#else /* !OPENSSL_NO_DSA */ - -# if PEDANTIC -static void *dummy = &dummy; -# endif - #endif |