Mercurial > dropbear
diff ecdsa.h @ 797:45f1bc96f357 ecc
Fix build for dropbearkey and ecdsa with certain options
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 09 May 2013 23:24:58 +0800 |
parents | 7f604f9b3756 |
children | 4365e12c68e6 5128e525c8fa |
line wrap: on
line diff
--- a/ecdsa.h Fri May 03 23:07:48 2013 +0800 +++ b/ecdsa.h Thu May 09 23:24:58 2013 +0800 @@ -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 @@ 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_