From: David Howells Date: Fri, 21 Sep 2012 22:28:05 +0000 (+0100) Subject: RSA: Fix signature verification for shorter signatures X-Git-Tag: v3.7-rc1~2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b1568a4536ff287a87908d7fc35c05bd7736a53;p=pandora-kernel.git RSA: Fix signature verification for shorter signatures gpg can produce a signature file where length of signature is less than the modulus size because the amount of space an MPI takes up is kept as low as possible by discarding leading zeros. This regularly happens for several modules during the build. Fix it by relaxing check in RSA verification code. Thanks to Tomas Mraz and Miloslav Trmac for help. Signed-off-by: Milan Broz Signed-off-by: David Howells Signed-off-by: Rusty Russell --- Reading git-diff-tree failed