Add ctrls to clear options and mode.
[openssl.git] / apps / dhparam.c
index e3cabcfcdccd4e4598380c476bad58bb3a35bfaa..5fab29eb87bf0936ae51f40936c904af110af5c6 100644 (file)
  *
  */
 
+#include <openssl/opensslconf.h>       /* for OPENSSL_NO_DH */
 #ifndef OPENSSL_NO_DH
 #include <stdio.h>
 #include <stdlib.h>
@@ -553,4 +554,10 @@ static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb)
        return 1;
        }
 
+#else /* !OPENSSL_NO_DH */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
 #endif