summaryrefslogtreecommitdiffstats
path: root/apps/dsa.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-01-31 13:08:23 -0500
committerRich Salz <rsalz@openssl.org>2016-02-09 20:13:29 -0500
commiteffaf4dee90beff07bb40f21d81352304a5e8152 (patch)
tree4bc77d1b1998e6fac62b3a5967a223376cb47111 /apps/dsa.c
parent1ffa8a9685e22a5a0ff1b1322df4d1720b05ce4c (diff)
Use NON_EMPTY_TRANSLATION_UNIT, consistently.
This also closes RT 4123 Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/dsa.c')
-rw-r--r--apps/dsa.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/dsa.c b/apps/dsa.c
index ebb5775a8b..5ee97cf66b 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -55,8 +55,11 @@
* [including the GNU Public Licence.]
*/
-#include <openssl/opensslconf.h> /* for OPENSSL_NO_DSA */
-#ifndef OPENSSL_NO_DSA
+#include <openssl/opensslconf.h>
+#ifdef OPENSSL_NO_DSA
+NON_EMPTY_TRANSLATION_UNIT
+#else
+
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
@@ -299,10 +302,4 @@ int dsa_main(int argc, char **argv)
OPENSSL_free(passout);
return (ret);
}
-#else /* !OPENSSL_NO_DSA */
-
-# if PEDANTIC
-static void *dummy = &dummy;
-# endif
-
#endif