summaryrefslogtreecommitdiff
path: root/moduli.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-01-15 02:21:31 +1100
committerDamien Miller <djm@mindrot.org>2015-01-15 02:28:36 +1100
commit72ef7c148c42db7d5632a29f137f8b87b579f2d9 (patch)
tree47954a387f4260cc8b1e0ff33bbbaf22fd6f11fc /moduli.c
parent4f38c61c68ae7e3f9ee4b3c38bc86cd39f65ece9 (diff)
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.
Diffstat (limited to 'moduli.c')
-rw-r--r--moduli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/moduli.c b/moduli.c
index 474caca67..729d55c10 100644
--- a/moduli.c
+++ b/moduli.c
@@ -39,6 +39,8 @@
39 39
40#include "includes.h" 40#include "includes.h"
41 41
42#ifdef WITH_OPENSSL
43
42#include <sys/param.h> 44#include <sys/param.h>
43#include <sys/types.h> 45#include <sys/types.h>
44 46
@@ -802,3 +804,5 @@ prime_test(FILE *in, FILE *out, u_int32_t trials, u_int32_t generator_wanted,
802 804
803 return (res); 805 return (res);
804} 806}
807
808#endif /* WITH_OPENSSL */