summaryrefslogtreecommitdiff
path: root/apps/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dh.c')
-rw-r--r--apps/dh.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/dh.c b/apps/dh.c
index cd01fed139..e9609d630d 100644
--- a/apps/dh.c
+++ b/apps/dh.c
@@ -57,6 +57,7 @@
* [including the GNU Public Licence.]
*/
+#include <openssl/opensslconf.h> /* for OPENSSL_NO_DH */
#ifndef OPENSSL_NO_DH
#include <stdio.h>
#include <stdlib.h>
@@ -348,4 +349,10 @@ end:
apps_shutdown();
OPENSSL_EXIT(ret);
}
+#else /* !OPENSSL_NO_DH */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
#endif