From a554fa893bbdfa01399aaff785f994eeff228e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 7 Sep 2006 08:09:21 +0000 Subject: [PATCH] Reverse 1.5, not needed. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18043 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/rsa-imath.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/des/rsa-imath.c b/lib/des/rsa-imath.c index 6545c849f..24243bfb2 100644 --- a/lib/des/rsa-imath.c +++ b/lib/des/rsa-imath.c @@ -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;