projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: algif_skcipher - Add key check exception for cipher_null
[linux-drm-fsl-dcu.git]
/
crypto
/
algif_skcipher.c
diff --git
a/crypto/algif_skcipher.c
b/crypto/algif_skcipher.c
index 110bab499e43525584b983771d5a948a09adc519..4a5bdb69fd493e5a0816fc19025f3b7faa276fb5 100644
(file)
--- a/
crypto/algif_skcipher.c
+++ b/
crypto/algif_skcipher.c
@@
-978,7
+978,7
@@
static int skcipher_accept_parent(void *private, struct sock *sk)
{
struct skcipher_tfm *tfm = private;
- if (!tfm->has_key)
+ if (!tfm->has_key
&& crypto_skcipher_has_setkey(tfm->skcipher)
)
return -ENOKEY;
return skcipher_accept_parent_common(private, sk);