From: Hans de Goede Date: Sun, 25 Aug 2019 18:18:41 +0000 (+0200) Subject: crypto: sha256 - Add missing MODULE_LICENSE() to lib/crypto/sha256.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9ecf5ad522e09d6e11a7e0a0b1845622a480f478;p=openwrt%2Fstaging%2Fblogic.git crypto: sha256 - Add missing MODULE_LICENSE() to lib/crypto/sha256.c lib/crypto/sha256.c / lib/crypto/libsha256.o may end up being a module, so it needs a MODULE_LICENSE() line, add this. Signed-off-by: Hans de Goede Signed-off-by: Herbert Xu --- diff --git a/lib/crypto/sha256.c b/lib/crypto/sha256.c index 45ad87520769..42d75e490a97 100644 --- a/lib/crypto/sha256.c +++ b/lib/crypto/sha256.c @@ -13,6 +13,7 @@ #include #include +#include #include #include #include @@ -314,3 +315,5 @@ int sha224_final(struct sha256_state *sctx, u8 *out) return __sha256_final(sctx, out, 7); } EXPORT_SYMBOL(sha224_final); + +MODULE_LICENSE("GPL");