diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-31 19:08:23 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-10 02:13:29 +0100 |
commit | effaf4dee90beff07bb40f21d81352304a5e8152 (patch) | |
tree | 4bc77d1b1998e6fac62b3a5967a223376cb47111 /apps/ecparam.c | |
parent | Make some global variables static (diff) | |
download | openssl-effaf4dee90beff07bb40f21d81352304a5e8152.tar.xz openssl-effaf4dee90beff07bb40f21d81352304a5e8152.zip |
Use NON_EMPTY_TRANSLATION_UNIT, consistently.
This also closes RT 4123
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/ecparam.c')
-rw-r--r-- | apps/ecparam.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/apps/ecparam.c b/apps/ecparam.c index b90247cc80..7889caccef 100644 --- a/apps/ecparam.c +++ b/apps/ecparam.c @@ -69,7 +69,10 @@ */ #include <openssl/opensslconf.h> -#ifndef OPENSSL_NO_EC +#ifdef OPENSSL_NO_EC +NON_EMPTY_TRANSLATION_UNIT +#else + # include <stdio.h> # include <stdlib.h> # include <time.h> @@ -502,10 +505,4 @@ int ecparam_main(int argc, char **argv) return (ret); } -#else /* !OPENSSL_NO_EC */ - -# if PEDANTIC -static void *dummy = &dummy; -# endif - #endif |