only enable functions in dh.c when openssl is used

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
This commit is contained in:
Marcus Folkesson 2017-10-28 19:48:39 +02:00 committed by Damien Miller
parent 939b30ba23
commit 6b373e4635
1 changed files with 3 additions and 0 deletions

3
dh.c
View File

@ -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 */