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 @@ | |||
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | 27 | ||
28 | #ifdef WITH_OPENSSL | ||
28 | 29 | ||
29 | #include <openssl/bn.h> | 30 | #include <openssl/bn.h> |
30 | #include <openssl/dh.h> | 31 | #include <openssl/dh.h> |
@@ -465,3 +466,5 @@ dh_estimate(int bits) | |||
465 | return 7680; | 466 | return 7680; |
466 | return 8192; | 467 | return 8192; |
467 | } | 468 | } |
469 | |||
470 | #endif /* WITH_OPENSSL */ | ||