summaryrefslogtreecommitdiff
path: root/ssh-ecdsa.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 /ssh-ecdsa.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 'ssh-ecdsa.c')
-rw-r--r--ssh-ecdsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-ecdsa.c b/ssh-ecdsa.c
index 1119db045..2c76f8b43 100644
--- a/ssh-ecdsa.c
+++ b/ssh-ecdsa.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
@@ -189,4 +189,4 @@ ssh_ecdsa_verify(const struct sshkey *key,
189 return ret; 189 return ret;
190} 190}
191 191
192#endif /* OPENSSL_HAS_ECC */ 192#endif /* WITH_OPENSSL && OPENSSL_HAS_ECC */