Mercurial > dropbear
diff dropbearkey.c @ 766:d1575fdc29a6 ecc
start on ecdsa keys
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 09 Apr 2013 00:36:04 +0800 |
parents | af4ef98b8591 |
children | d386defb5376 |
line wrap: on
line diff
--- a/dropbearkey.c Mon Apr 08 23:56:31 2013 +0800 +++ b/dropbearkey.c Tue Apr 09 00:36:04 2013 +0800 @@ -188,6 +188,7 @@ 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);