diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-05-09 23:24:58 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-05-09 23:24:58 +0800 |
commit | 226671b5508afb147cad40d5cd8f90e1cbb2c24e (patch) | |
tree | 4c8c3ced12e41fa5d0641fb52df1f33aa310f86e /ecdsa.h | |
parent | 95a21c8fd796c570e8660db983b3032af96ec5cb (diff) |
Fix build for dropbearkey and ecdsa with certain options
--HG--
branch : ecc
Diffstat (limited to 'ecdsa.h')
-rw-r--r-- | ecdsa.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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_ |