summaryrefslogtreecommitdiff
path: root/apps/gendh.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gendh.c')
-rw-r--r--apps/gendh.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/gendh.c b/apps/gendh.c
index 69baa50b01..caa7327a10 100644
--- a/apps/gendh.c
+++ b/apps/gendh.c
@@ -57,6 +57,7 @@
* [including the GNU Public Licence.]
*/
+#include <openssl/opensslconf.h>
/* Until the key-gen callbacks are modified to use newer prototypes, we allow
* deprecated functions for openssl-internal code */
#ifdef OPENSSL_NO_DEPRECATED
@@ -234,4 +235,10 @@ static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb)
#endif
return 1;
}
+#else /* !OPENSSL_NO_DH */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
#endif