only enable functions in dh.c when openssl is used
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
This commit is contained in:
parent
939b30ba23
commit
6b373e4635
3
dh.c
3
dh.c
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#ifdef WITH_OPENSSL
|
||||||
|
|
||||||
#include <openssl/bn.h>
|
#include <openssl/bn.h>
|
||||||
#include <openssl/dh.h>
|
#include <openssl/dh.h>
|
||||||
|
@ -465,3 +466,5 @@ dh_estimate(int bits)
|
||||||
return 7680;
|
return 7680;
|
||||||
return 8192;
|
return 8192;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* WITH_OPENSSL */
|
||||||
|
|
Loading…
Reference in New Issue