summaryrefslogtreecommitdiffhomepage
path: root/dropbearkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'dropbearkey.c')
-rw-r--r--dropbearkey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dropbearkey.c b/dropbearkey.c
index 9b82a77..a9d80fd 100644
--- a/dropbearkey.c
+++ b/dropbearkey.c
@@ -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);