summaryrefslogtreecommitdiff
path: root/crypto/crypto_user.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2014-12-12 12:23:55 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2014-12-12 12:23:55 +1100
commit47c7102acacce710bf6209edb1880446964f0900 (patch)
tree70de9b6c1de158f0f841e04a394a27a73776a87b /crypto/crypto_user.c
parent24900898430e8517630325971acabd7225f9fd86 (diff)
parent8606813a6c8997fd3bb805186056d78670eb86ca (diff)
Merge remote-tracking branch 'crypto/master'
Diffstat (limited to 'crypto/crypto_user.c')
-rw-r--r--crypto/crypto_user.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c
index e2a34feec7a4..c5148a35ae0a 100644
--- a/crypto/crypto_user.c
+++ b/crypto/crypto_user.c
@@ -201,10 +201,7 @@ static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh,
if (!null_terminated(p->cru_name) || !null_terminated(p->cru_driver_name))
return -EINVAL;
- if (!p->cru_driver_name[0])
- return -EINVAL;
-
- alg = crypto_alg_match(p, 1);
+ alg = crypto_alg_match(p, 0);
if (!alg)
return -ENOENT;
@@ -537,3 +534,4 @@ module_exit(crypto_user_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Steffen Klassert <steffen.klassert@secunet.com>");
MODULE_DESCRIPTION("Crypto userspace configuration API");
+MODULE_ALIAS("net-pf-16-proto-21");