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 /openbsd-compat/openssl-compat.h | |
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 'openbsd-compat/openssl-compat.h')
-rw-r--r-- | openbsd-compat/openssl-compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h index 3695d412b..8917551d3 100644 --- a/openbsd-compat/openssl-compat.h +++ b/openbsd-compat/openssl-compat.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #define _OPENSSL_COMPAT_H | 20 | #define _OPENSSL_COMPAT_H |
21 | 21 | ||
22 | #include "includes.h" | 22 | #include "includes.h" |
23 | #ifdef WITH_OPENSSL | ||
24 | |||
23 | #include <openssl/opensslv.h> | 25 | #include <openssl/opensslv.h> |
24 | #include <openssl/evp.h> | 26 | #include <openssl/evp.h> |
25 | #include <openssl/rsa.h> | 27 | #include <openssl/rsa.h> |
@@ -90,4 +92,5 @@ void ssh_OpenSSL_add_all_algorithms(void); | |||
90 | 92 | ||
91 | #endif /* SSH_DONT_OVERLOAD_OPENSSL_FUNCS */ | 93 | #endif /* SSH_DONT_OVERLOAD_OPENSSL_FUNCS */ |
92 | 94 | ||
95 | #endif /* WITH_OPENSSL */ | ||
93 | #endif /* _OPENSSL_COMPAT_H */ | 96 | #endif /* _OPENSSL_COMPAT_H */ |