summaryrefslogtreecommitdiff
path: root/ssh-ecdsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-ecdsa.c')
-rw-r--r--ssh-ecdsa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh-ecdsa.c b/ssh-ecdsa.c
index 5c4ce231..c8276b46 100644
--- a/ssh-ecdsa.c
+++ b/ssh-ecdsa.c
@@ -26,6 +26,8 @@
#include "includes.h"
+#ifdef OPENSSL_HAS_ECC
+
#include <sys/types.h>
#include <openssl/bn.h>
@@ -162,3 +164,5 @@ ssh_ecdsa_verify(const Key *key, const u_char *signature, u_int signaturelen,
ret == 1 ? "correct" : ret == 0 ? "incorrect" : "error");
return ret;
}
+
+#endif /* OPENSSL_HAS_ECC */