- (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@
diff --git a/bufec.c b/bufec.c
index c77d1ec..3dcb494 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 @@
fatal("%s: buffer error", __func__);
}
+#endif /* OPENSSL_HAS_ECC */