Impose a lower limit of 256 on key lengths. This is mostly because
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 25 Oct 2000 14:29:28 +0000 (14:29 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 25 Oct 2000 14:29:28 +0000 (14:29 +0000)
commite28350d4012739a2788d346ef03c5f2a36e21bf4
tree2c9166dd859b5237028ad227c5c3821cbcb0c8c5
parentb00f8b3477c0f6fcb7506d9d5bcf37b8dd4f0455
Impose a lower limit of 256 on key lengths. This is mostly because
the primegen() function doesn't work well with <100 bits, so RSA
keys need to be >=200 to be generated correctly, and I thought 256
was a nice round number beyond that just to be sure. Perhaps I
should also have a security warning on any key less than 768; or
perhaps I should let people shoot themselves in the feet if they
really want to.

git-svn-id: svn://svn.tartarus.org/sgt/putty@767 cda61777-01e9-0310-a592-d414129be87e
puttygen.c