summaryrefslogtreecommitdiffstats
path: root/bufec.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-09-10 03:39:26 +0200
committerDamien Miller <djm@mindrot.org>2010-09-10 03:39:26 +0200
commit6af914a15c0c33e8b5bab5ca61919b8562ff1db9 (patch)
treeb87546d8a88a05e6fd600cbb2b8c0b132278cb10 /bufec.c
parent - djm@cvs.openbsd.org 2010/09/09 10:45:45 (diff)
downloadopenssh-6af914a15c0c33e8b5bab5ca61919b8562ff1db9.tar.xz
openssh-6af914a15c0c33e8b5bab5ca61919b8562ff1db9.zip
- (djm) [authfd.c authfile.c bufec.c buffer.h configure.ac kex.h kexecdh.c]
[kexecdhc.c kexecdhs.c key.c key.h myproposal.h packet.c readconf.c] [ssh-agent.c ssh-ecdsa.c ssh-keygen.c ssh.c] Disable ECDH and ECDSA on platforms that don't have the requisite OpenSSL support. ok dtucker@
Diffstat (limited to 'bufec.c')
-rw-r--r--bufec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bufec.c b/bufec.c
index c77d1ecb9..3dcb49477 100644
--- a/bufec.c
+++ b/bufec.c
@@ -17,6 +17,8 @@
#include "includes.h"
+#ifdef OPENSSL_HAS_ECC
+
#include <sys/types.h>
#include <openssl/bn.h>
@@ -141,3 +143,4 @@ buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve,
fatal("%s: buffer error", __func__);
}
+#endif /* OPENSSL_HAS_ECC */