summaryrefslogtreecommitdiff
path: root/kexdh.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 /kexdh.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 'kexdh.c')
-rw-r--r--kexdh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kexdh.c b/kexdh.c
index e7cdadc90..2c1dfb6f5 100644
--- a/kexdh.c
+++ b/kexdh.c
@@ -25,6 +25,8 @@
25 25
26#include "includes.h" 26#include "includes.h"
27 27
28#ifdef WITH_OPENSSL
29
28#include <sys/types.h> 30#include <sys/types.h>
29 31
30#include <signal.h> 32#include <signal.h>
@@ -85,3 +87,4 @@ kex_dh_hash(
85 *hash = digest; 87 *hash = digest;
86 *hashlen = ssh_digest_bytes(SSH_DIGEST_SHA1); 88 *hashlen = ssh_digest_bytes(SSH_DIGEST_SHA1);
87} 89}
90#endif /* WITH_OPENSSL */