]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PKCS#7: fix missing break on OID_sha224 case
authorColin Ian King <colin.king@canonical.com>
Fri, 18 Mar 2016 15:51:31 +0000 (15:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:23:38 +0000 (18:23 -0700)
commitc5d679e43bb8a2fe7f2a1d252cca52fb08a0833d
treeb70a9900081fb50f4025ed76663697b3c85f3a17
parentc3373d15e99654d544c1419179b32b7892eb98df
PKCS#7: fix missing break on OID_sha224 case

commit 06af9b0f4949b85b20107e6d75f5eba15111d220 upstream.

The OID_sha224 case is missing a break and it falls through
to the -ENOPKG error default.  Since HASH_ALGO_SHA224 seems
to be supported, this looks like an unintentional missing break.

Fixes: 07f081fb5057 ("PKCS#7: Add OIDs for sha224, sha284 and sha512 hash algos and use them")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
crypto/asymmetric_keys/pkcs7_parser.c