mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
#error if no ecc size is chosen
This commit is contained in:
parent
f82933108d
commit
b4b11c8155
2
ecdsa.h
2
ecdsa.h
@ -16,7 +16,7 @@
|
|||||||
#elif DROPBEAR_ECC_521
|
#elif DROPBEAR_ECC_521
|
||||||
#define ECDSA_DEFAULT_SIZE 521
|
#define ECDSA_DEFAULT_SIZE 521
|
||||||
#else
|
#else
|
||||||
#define ECDSA_DEFAULT_SIZE 0
|
#error ECDSA can't be enabled without enabling at least one size (256, 384, 521)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ecc_key *gen_ecdsa_priv_key(unsigned int bit_size);
|
ecc_key *gen_ecdsa_priv_key(unsigned int bit_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user