summaryrefslogtreecommitdiff
path: root/dh.h
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.h
parentbe02d7cbde3d211ec2ed2320a1f7d86b2339d758 (diff)
upstream: fixes for !WITH_OPENSSL compilation; ok dtucker@
OpenBSD-Commit-ID: 7fd68eaa9e0f7482b5d4c7e8d740aed4770a839f
Diffstat (limited to 'dh.h')
-rw-r--r--dh.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/dh.h b/dh.h
index adb643a75..5d6df6297 100644
--- a/dh.h
+++ b/dh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh.h,v 1.17 2019/01/20 01:12:40 dtucker Exp $ */ 1/* $OpenBSD: dh.h,v 1.18 2019/09/06 05:23:55 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Niels Provos. All rights reserved. 4 * Copyright (c) 2000 Niels Provos. All rights reserved.
@@ -26,6 +26,8 @@
26#ifndef DH_H 26#ifndef DH_H
27#define DH_H 27#define DH_H
28 28
29#ifdef WITH_OPENSSL
30
29struct dhgroup { 31struct dhgroup {
30 int size; 32 int size;
31 BIGNUM *g; 33 BIGNUM *g;
@@ -76,5 +78,6 @@ u_int dh_estimate(int);
76#define MODULI_TESTS_JACOBI (0x08) 78#define MODULI_TESTS_JACOBI (0x08)
77#define MODULI_TESTS_ELLIPTIC (0x10) 79#define MODULI_TESTS_ELLIPTIC (0x10)
78 80
81#endif /* WITH_OPENSSL */
79 82
80#endif 83#endif /* DH_H */