diff options
author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2017-10-28 19:48:39 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-11-03 13:13:54 +1100 |
commit | 6b373e4635a7470baa94253dd1dc8953663da9e8 (patch) | |
tree | 4f74662cd3b80bc46d4c23c5bc0b7d85c1d91c27 /dh.c | |
parent | 939b30ba23848b572e15bf92f0f1a3d9cf3acc2b (diff) |
only enable functions in dh.c when openssl is used
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Diffstat (limited to 'dh.c')
-rw-r--r-- | dh.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |