From ed221835a7ae8d0c5d9967d70518d0f230b8e9c5 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Tue, 19 Jul 2022 03:04:15 +0000 Subject: [PATCH] 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 --- lib/crypto/sha1.c | 3 +++ 1 file changed, 3 insertions(+) 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"); -- 2.7.4