Eliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
[openssl.git] / apps / dh.c
index 02742485ce234609ec002063d855201b70e97e15..b4abbe7f0982bb787b09753e0fd170eee399bb16 100644 (file)
--- a/apps/dh.c
+++ b/apps/dh.c
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_DH
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>
@@ -308,3 +309,4 @@ end:
        if (dh != NULL) DH_free(dh);
        EXIT(ret);
        }
+#endif