rsa.c: Replace the magic length 1024 with a (larger) constant.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 25 Jul 2013 17:30:46 +0000 (18:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 Jul 2013 17:30:46 +0000 (18:30 +0100)
commit9941ae2e1f8bd7cb5771527b41d6a2032cd6580f
treeac02d3d1ddf348e0e0b97919d75e584fa7635ecb
parent2cd2cf055c0c424f60751f7ac4007771e377f262
rsa.c: Replace the magic length 1024 with a (larger) constant.

While 15360-bit RSA keys are rather large, they're not completely beyond
the realms of possibility and it seems unreasonable to forbid
them.  (Specifically, 15360 is the length recommended by NIST for
256-bit security levels.)

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
rsa.c