提交 ed221835 编写于 作者: E Eric Biggers 提交者: Herbert Xu

crypto: lib - add module license to libsha1

libsha1 can be a module, so it needs a MODULE_LICENSE.

Fixes: ec8f7f48 ("crypto: lib - make the sha1 library optional")
Reported-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NEric Biggers <ebiggers@google.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 ec8f7f48
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/export.h> #include <linux/export.h>
#include <linux/module.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/string.h> #include <linux/string.h>
#include <crypto/sha1.h> #include <crypto/sha1.h>
...@@ -135,3 +136,5 @@ void sha1_init(__u32 *buf) ...@@ -135,3 +136,5 @@ void sha1_init(__u32 *buf)
buf[4] = 0xc3d2e1f0; buf[4] = 0xc3d2e1f0;
} }
EXPORT_SYMBOL(sha1_init); EXPORT_SYMBOL(sha1_init);
MODULE_LICENSE("GPL");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册