diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-09-06 07:23:55 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-09-06 09:54:21 +0200 |
commit | 670104b923dd97b1c06c0659aef7c3e52af571b2 (patch) | |
tree | 28f189b92f2b56d071535b13e969050c7465fc58 /dh.h | |
parent | upstream: lots of things were relying on libcrypto headers to (diff) | |
download | openssh-670104b923dd97b1c06c0659aef7c3e52af571b2.tar.xz openssh-670104b923dd97b1c06c0659aef7c3e52af571b2.zip |
upstream: fixes for !WITH_OPENSSL compilation; ok dtucker@
OpenBSD-Commit-ID: 7fd68eaa9e0f7482b5d4c7e8d740aed4770a839f
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: dh.h,v 1.17 2019/01/20 01:12:40 dtucker Exp $ */ +/* $OpenBSD: dh.h,v 1.18 2019/09/06 05:23:55 djm Exp $ */ /* * Copyright (c) 2000 Niels Provos. All rights reserved. @@ -26,6 +26,8 @@ #ifndef DH_H #define DH_H +#ifdef WITH_OPENSSL + struct dhgroup { int size; BIGNUM *g; @@ -76,5 +78,6 @@ u_int dh_estimate(int); #define MODULI_TESTS_JACOBI (0x08) #define MODULI_TESTS_ELLIPTIC (0x10) +#endif /* WITH_OPENSSL */ -#endif +#endif /* DH_H */ |