summaryrefslogtreecommitdiff
path: root/lib/crypto/sha256.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-08-25 21:18:41 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-30 11:05:31 +0300
commit9ecf5ad522e09d6e11a7e0a0b1845622a480f478 (patch)
treeb191495d87d4f53f2d8aa730895327a641947e9b /lib/crypto/sha256.c
parentc03a509304954c5ed58ac9c607e20f1b55f88a28 (diff)
downloadlinux-9ecf5ad522e09d6e11a7e0a0b1845622a480f478.tar.xz
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 <hdegoede@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/sha256.c')
-rw-r--r--lib/crypto/sha256.c3
1 files changed, 3 insertions, 0 deletions
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 <linux/bitops.h>
#include <linux/export.h>
+#include <linux/module.h>
#include <linux/string.h>
#include <crypto/sha256.h>
#include <asm/unaligned.h>
@@ -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");