mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
start on ecdsa keys
--HG-- branch : ecc
This commit is contained in:
@@ -188,6 +188,7 @@ int main(int argc, char ** argv) {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
// TODO: put RSA and DSS size checks into genrsa.c etc
|
||||
if (keytype == DROPBEAR_SIGNKEY_DSS && bits != 1024) {
|
||||
fprintf(stderr, "DSS keys have a fixed size of 1024 bits\n");
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
Reference in New Issue
Block a user