diff options
author | Damien Miller <djm@mindrot.org> | 2015-01-15 02:21:31 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-15 02:28:36 +1100 |
commit | 72ef7c148c42db7d5632a29f137f8b87b579f2d9 (patch) | |
tree | 47954a387f4260cc8b1e0ff33bbbaf22fd6f11fc /cipher-bf1.c | |
parent | 4f38c61c68ae7e3f9ee4b3c38bc86cd39f65ece9 (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 'cipher-bf1.c')
-rw-r--r-- | cipher-bf1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher-bf1.c b/cipher-bf1.c index 64c74bc6f..ee72ac085 100644 --- a/cipher-bf1.c +++ b/cipher-bf1.c | |||
@@ -20,6 +20,8 @@ | |||
20 | 20 | ||
21 | #include "includes.h" | 21 | #include "includes.h" |
22 | 22 | ||
23 | #ifdef WITH_OPENSSL | ||
24 | |||
23 | #include <sys/types.h> | 25 | #include <sys/types.h> |
24 | 26 | ||
25 | #include <stdarg.h> | 27 | #include <stdarg.h> |
@@ -98,3 +100,4 @@ evp_ssh1_bf(void) | |||
98 | ssh1_bf.key_len = 32; | 100 | ssh1_bf.key_len = 32; |
99 | return (&ssh1_bf); | 101 | return (&ssh1_bf); |
100 | } | 102 | } |
103 | #endif /* WITH_OPENSSL */ | ||