diff options
author | Bruno Haible <bruno@clisp.org> | 2021-09-19 01:36:29 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-09-19 01:36:49 +0200 |
commit | ecf145d277937c22f28294ef573f5a2cfb58fa30 (patch) | |
tree | e4d7b47e8d6940f89060d93e45f4106793c6ab23 /modules/crypto | |
parent | d8a1c91c657909fc0b2148f9e47b6eb8ef79d8ad (diff) | |
download | gnulib-ecf145d277937c22f28294ef573f5a2cfb58fa30.tar.gz |
sha1: Clarify module to source relation.
* lib/sha1-stream.c: New file, extracted from lib/sha1.c.
* lib/sha1.c: Don't include stdlib.h, unlocked-io.h.
(BLOCKSIZE, sha1_stream): Moved to sha1-stream.c.
* lib/sha1.h: Correct indentation.
* modules/crypto/sha1 (Files): Add lib/sha1-stream.c.
(configure.ac): Don't define GL_COMPILE_CRYPTO_STREAM.
(Makefile.am): Arrange to compile sha1-stream.c.
(Link): Mention $(LIB_CRYPTO).
Diffstat (limited to 'modules/crypto')
-rw-r--r-- | modules/crypto/sha1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/crypto/sha1 b/modules/crypto/sha1 index 86ae4d87e6..96e5c8fe18 100644 --- a/modules/crypto/sha1 +++ b/modules/crypto/sha1 @@ -2,19 +2,23 @@ Description: Compute SHA1 checksum. Files: +lib/sha1-stream.c Depends-on: crypto/af_alg crypto/sha1-buffer configure.ac: -AC_DEFINE([GL_COMPILE_CRYPTO_STREAM], 1, [Compile Gnulib crypto stream ops.]) Makefile.am: +lib_SOURCES += sha1-stream.c Include: "sha1.h" +Link: +$(LIB_CRYPTO) + License: LGPLv2+ |