Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eric Biggers and committed by
Herbert Xu
ed221835 ec8f7f48

+3
+3
lib/crypto/sha1.c
··· 8 8 9 9 #include <linux/kernel.h> 10 10 #include <linux/export.h> 11 + #include <linux/module.h> 11 12 #include <linux/bitops.h> 12 13 #include <linux/string.h> 13 14 #include <crypto/sha1.h> ··· 136 135 buf[4] = 0xc3d2e1f0; 137 136 } 138 137 EXPORT_SYMBOL(sha1_init); 138 + 139 + MODULE_LICENSE("GPL");