diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-09-06 05:23:55 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-09-06 17:54:21 +1000 |
commit | 670104b923dd97b1c06c0659aef7c3e52af571b2 (patch) | |
tree | 28f189b92f2b56d071535b13e969050c7465fc58 /dh.c | |
parent | be02d7cbde3d211ec2ed2320a1f7d86b2339d758 (diff) |
upstream: fixes for !WITH_OPENSSL compilation; ok dtucker@
OpenBSD-Commit-ID: 7fd68eaa9e0f7482b5d4c7e8d740aed4770a839f
Diffstat (limited to 'dh.c')
-rw-r--r-- | dh.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.c,v 1.69 2018/11/09 02:56:22 djm Exp $ */ | 1 | /* $OpenBSD: dh.c,v 1.70 2019/09/06 05:23:55 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 3 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
4 | * | 4 | * |
@@ -27,9 +27,6 @@ | |||
27 | 27 | ||
28 | #ifdef WITH_OPENSSL | 28 | #ifdef WITH_OPENSSL |
29 | 29 | ||
30 | #include <openssl/bn.h> | ||
31 | #include <openssl/dh.h> | ||
32 | |||
33 | #include <errno.h> | 30 | #include <errno.h> |
34 | #include <stdarg.h> | 31 | #include <stdarg.h> |
35 | #include <stdio.h> | 32 | #include <stdio.h> |
@@ -37,6 +34,9 @@ | |||
37 | #include <string.h> | 34 | #include <string.h> |
38 | #include <limits.h> | 35 | #include <limits.h> |
39 | 36 | ||
37 | #include <openssl/bn.h> | ||
38 | #include <openssl/dh.h> | ||
39 | |||
40 | #include "dh.h" | 40 | #include "dh.h" |
41 | #include "pathnames.h" | 41 | #include "pathnames.h" |
42 | #include "log.h" | 42 | #include "log.h" |