From 72ef7c148c42db7d5632a29f137f8b87b579f2d9 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 15 Jan 2015 02:21:31 +1100 Subject: support --without-openssl at configure time Disables and removes dependency on OpenSSL. Many features don't work and the set of crypto options is greatly restricted. This will only work on system with native arc4random or /dev/urandom. Considered highly experimental for now. --- moduli.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'moduli.c') diff --git a/moduli.c b/moduli.c index 474caca6..729d55c1 100644 --- a/moduli.c +++ b/moduli.c @@ -39,6 +39,8 @@ #include "includes.h" +#ifdef WITH_OPENSSL + #include #include @@ -802,3 +804,5 @@ prime_test(FILE *in, FILE *out, u_int32_t trials, u_int32_t generator_wanted, return (res); } + +#endif /* WITH_OPENSSL */ -- cgit v1.2.3