summaryrefslogtreecommitdiffstats
path: root/dh.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-09-06 05:23:55 +0000
committerDamien Miller <djm@mindrot.org>2019-09-06 17:54:21 +1000
commit670104b923dd97b1c06c0659aef7c3e52af571b2 (patch)
tree28f189b92f2b56d071535b13e969050c7465fc58 /dh.c
parentbe02d7cbde3d211ec2ed2320a1f7d86b2339d758 (diff)
upstream: fixes for !WITH_OPENSSL compilation; ok dtucker@
Diffstat (limited to 'dh.c')
-rw-r--r--dh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dh.c b/dh.c
index a98d39ed..2d306f3d 100644
--- a/dh.c
+++ b/dh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dh.c,v 1.69 2018/11/09 02:56:22 djm Exp $ */
+/* $OpenBSD: dh.c,v 1.70 2019/09/06 05:23:55 djm Exp $ */
/*
* Copyright (c) 2000 Niels Provos. All rights reserved.
*
@@ -27,9 +27,6 @@
#ifdef WITH_OPENSSL
-#include <openssl/bn.h>
-#include <openssl/dh.h>
-
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
@@ -37,6 +34,9 @@
#include <string.h>
#include <limits.h>
+#include <openssl/bn.h>
+#include <openssl/dh.h>
+
#include "dh.h"
#include "pathnames.h"
#include "log.h"