[openssh-commits] [openssh] 01/02: only enable functions in dh.c when openssl is used
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Nov 3 13:25:17 AEDT 2017
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 6b373e4635a7470baa94253dd1dc8953663da9e8
Author: Marcus Folkesson <marcus.folkesson at gmail.com>
Date: Sat Oct 28 19:48:39 2017 +0200
only enable functions in dh.c when openssl is used
Signed-off-by: Marcus Folkesson <marcus.folkesson at gmail.com>
---
dh.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dh.c b/dh.c
index 47531242..eebee237 100644
--- a/dh.c
+++ b/dh.c
@@ -25,6 +25,7 @@
#include "includes.h"
+#ifdef WITH_OPENSSL
#include <openssl/bn.h>
#include <openssl/dh.h>
@@ -465,3 +466,5 @@ dh_estimate(int bits)
return 7680;
return 8192;
}
+
+#endif /* WITH_OPENSSL */
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list