summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/gendh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/apps/gendh.c')
-rw-r--r--lib/libssl/src/apps/gendh.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/libssl/src/apps/gendh.c b/lib/libssl/src/apps/gendh.c
index 4dd5c02a9eb..4fd47092dd2 100644
--- a/lib/libssl/src/apps/gendh.c
+++ b/lib/libssl/src/apps/gendh.c
@@ -58,6 +58,7 @@
*/
#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
@@ -65,18 +66,22 @@
#endif
#ifndef OPENSSL_NO_DH
-#include <stdio.h>
-#include <string.h>
+
#include <sys/types.h>
#include <sys/stat.h>
+
+#include <stdio.h>
+#include <string.h>
+
#include "apps.h"
+
#include <openssl/bio.h>
-#include <openssl/rand.h>
-#include <openssl/err.h>
#include <openssl/bn.h>
#include <openssl/dh.h>
-#include <openssl/x509.h>
+#include <openssl/err.h>
#include <openssl/pem.h>
+#include <openssl/rand.h>
+#include <openssl/x509.h>
#define DEFBITS 512