summaryrefslogtreecommitdiff
path: root/kexecdh.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 /kexecdh.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 'kexecdh.c')
-rw-r--r--kexecdh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexecdh.c b/kexecdh.c
index c52c5e234..3115d13d1 100644
--- a/kexecdh.c
+++ b/kexecdh.c
@@ -26,7 +26,7 @@
26 26
27#include "includes.h" 27#include "includes.h"
28 28
29#ifdef OPENSSL_HAS_ECC 29#if defined(WITH_OPENSSL) && defined(OPENSSL_HAS_ECC)
30 30
31#include <sys/types.h> 31#include <sys/types.h>
32 32
@@ -94,4 +94,4 @@ kex_ecdh_hash(
94 *hash = digest; 94 *hash = digest;
95 *hashlen = ssh_digest_bytes(hash_alg); 95 *hashlen = ssh_digest_bytes(hash_alg);
96} 96}
97#endif /* OPENSSL_HAS_ECC */ 97#endif /* defined(WITH_OPENSSL) && defined(OPENSSL_HAS_ECC) */