summaryrefslogtreecommitdiff
path: root/ecdsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecdsa.h')
-rw-r--r--ecdsa.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ecdsa.h b/ecdsa.h
index db4ae18..84e4000 100644
--- a/ecdsa.h
+++ b/ecdsa.h
@@ -5,6 +5,8 @@
#include "buffer.h"
#include "signkey.h"
+#ifdef DROPBEAR_ECDSA
+
#ifdef DROPBEAR_ECC_256
#define ECDSA_DEFAULT_SIZE 256
#elif DROPBEAR_ECC_384
@@ -25,4 +27,6 @@ enum signkey_type ecdsa_signkey_type(ecc_key * key);
void buf_put_ecdsa_sign(buffer *buf, ecc_key *key, buffer *data_buf);
int buf_ecdsa_verify(buffer *buf, ecc_key *key, buffer *data_buf);
-#endif // _ECDSA_H_ \ No newline at end of file
+#endif
+
+#endif // _ECDSA_H_