]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - crypto/crypto_user.c
ARM: mvebu: armada-370-mirabox: Relicense the device tree under GPLv2+/X11
[karo-tx-linux.git] / crypto / crypto_user.c
index e2a34feec7a4cf80199e651032c70eee8d94460b..c5148a35ae0a38c696f22eaba3c0b860ab8df1c9 100644 (file)
@@ -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");