Reverse 1.5, not needed.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18043 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-09-07 08:09:21 +00:00
parent 2b00422f5e
commit a554fa893b

View File

@@ -188,14 +188,6 @@ imath_rsa_public_decrypt(int flen, const unsigned char* from,
return -1;
size--; p++;
/*
* Check for Daniel Bleichenbacher an attack on PKCS #1 v1.5
* signatures. Doesn't work on standard signatures and small key,
* so limit when we check for it.
*/
if (size > 42 && (3 * 8 * size) >= BN_num_bits(rsa->n))
return -1;
memmove(to, p, size);
return size;