From: Eric Biggers Date: Tue, 19 Jul 2022 03:04:15 +0000 (+0000) Subject: crypto: lib - add module license to libsha1 X-Git-Tag: v6.1-rc5~754^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed221835a7ae8d0c5d9967d70518d0f230b8e9c5;p=platform%2Fkernel%2Flinux-starfive.git crypto: lib - add module license to libsha1 libsha1 can be a module, so it needs a MODULE_LICENSE. Fixes: ec8f7f4821d5 ("crypto: lib - make the sha1 library optional") Reported-by: Randy Dunlap Signed-off-by: Eric Biggers Signed-off-by: Herbert Xu --- diff --git a/lib/crypto/sha1.c b/lib/crypto/sha1.c index 0494766..1aebe7b 100644 --- a/lib/crypto/sha1.c +++ b/lib/crypto/sha1.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -135,3 +136,5 @@ void sha1_init(__u32 *buf) buf[4] = 0xc3d2e1f0; } EXPORT_SYMBOL(sha1_init); + +MODULE_LICENSE("GPL");