crypto: algif_skcipher - Add nokey compatibility path
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 4 Jan 2016 04:36:12 +0000 (13:36 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 Jan 2016 10:16:11 +0000 (18:16 +0800)
commita0fa2d037129a9849918a92d91b79ed6c7bd2818
treef47b94a584d539028ef941f261c1ea2ce15a7d68
parent37766586c965d63758ad542325a96d5384f4a8c9
crypto: algif_skcipher - Add nokey compatibility path

This patch adds a compatibility path to support old applications
that do acept(2) before setkey.

Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algif_skcipher.c