diff options
| -rw-r--r-- | crypto/crypto_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index f6d9baf77f0a..423a267022f4 100644 --- a/crypto/crypto_user.c +++ b/crypto/crypto_user.c | |||
| @@ -196,7 +196,7 @@ static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, | |||
| 196 | struct crypto_dump_info info; | 196 | struct crypto_dump_info info; |
| 197 | int err; | 197 | int err; |
| 198 | 198 | ||
| 199 | if (!p->cru_driver_name) | 199 | if (!p->cru_driver_name[0]) |
| 200 | return -EINVAL; | 200 | return -EINVAL; |
| 201 | 201 | ||
| 202 | alg = crypto_alg_match(p, 1); | 202 | alg = crypto_alg_match(p, 1); |
