Skip to content

Commit

Permalink
crypto: lib - add module license to libsha1
Browse files Browse the repository at this point in the history
libsha1 can be a module, so it needs a MODULE_LICENSE.

Fixes: ec8f7f4 ("crypto: lib - make the sha1 library optional")
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
ebiggers authored and herbertx committed Jul 20, 2022
1 parent ec8f7f4 commit ed22183
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/crypto/sha1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -135,3 +136,5 @@ void sha1_init(__u32 *buf)
buf[4] = 0xc3d2e1f0;
}
EXPORT_SYMBOL(sha1_init);

MODULE_LICENSE("GPL");

0 comments on commit ed22183

Please sign in to comment.