diff options
author | Eric Biggers <ebiggers@google.com> | 2022-07-19 03:04:15 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-07-20 15:28:07 +0800 |
commit | ed221835a7ae8d0c5d9967d70518d0f230b8e9c5 (patch) | |
tree | 01fbf93f08e1e64d91d64fa65937e0dff4abc85c /lib/crypto | |
parent | ec8f7f4821d5e70d71601519bc2325b311324a96 (diff) | |
download | linux-ed221835a7ae8d0c5d9967d70518d0f230b8e9c5.tar.gz linux-ed221835a7ae8d0c5d9967d70518d0f230b8e9c5.tar.bz2 linux-ed221835a7ae8d0c5d9967d70518d0f230b8e9c5.zip |
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 <rdunlap@infradead.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/sha1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/crypto/sha1.c b/lib/crypto/sha1.c index 0494766fc574..1aebe7be9401 100644 --- a/lib/crypto/sha1.c +++ b/lib/crypto/sha1.c @@ -8,6 +8,7 @@ #include <linux/kernel.h> #include <linux/export.h> +#include <linux/module.h> #include <linux/bitops.h> #include <linux/string.h> #include <crypto/sha1.h> @@ -135,3 +136,5 @@ void sha1_init(__u32 *buf) buf[4] = 0xc3d2e1f0; } EXPORT_SYMBOL(sha1_init); + +MODULE_LICENSE("GPL"); |