Eliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
[openssl.git] / apps / dh.c
index 0b548ef5703bde50971f20060e5ec1bf176880ea..b4abbe7f0982bb787b09753e0fd170eee399bb16 100644 (file)
--- a/apps/dh.c
+++ b/apps/dh.c
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_DH
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>
 #include <string.h>
 #include "apps.h"
-#include "bio.h"
-#include "err.h"
-#include "bn.h"
-#include "dh.h"
-#include "x509.h"
-#include "pem.h"
+#include <openssl/bio.h>
+#include <openssl/err.h>
+#include <openssl/bn.h>
+#include <openssl/dh.h>
+#include <openssl/x509.h>
+#include <openssl/pem.h>
 
 #undef PROG
 #define PROG   dh_main
@@ -308,3 +309,4 @@ end:
        if (dh != NULL) DH_free(dh);
        EXIT(ret);
        }
+#endif