summaryrefslogtreecommitdiffhomepage
path: root/dropbearkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-09 00:36:04 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-09 00:36:04 +0800
commit7f091e70196cdcfbf80d16d508e6bed0bce38022 (patch)
tree4b2fbbf4ee71a61b9156e32d743118eb5a694d98 /dropbearkey.c
parent4f07805d0a658de4b8645ea12471269d006428a9 (diff)
start on ecdsa keys
--HG-- branch : ecc
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);