]> Savannah Git Hosting - gnulib.git/commit
sha1: Clarify module to source relation.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Sep 2021 23:36:29 +0000 (01:36 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Sep 2021 23:36:49 +0000 (01:36 +0200)
commitecf145d277937c22f28294ef573f5a2cfb58fa30
treee4d7b47e8d6940f89060d93e45f4106793c6ab23
parentd8a1c91c657909fc0b2148f9e47b6eb8ef79d8ad
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).
ChangeLog
lib/sha1-stream.c [new file with mode: 0644]
lib/sha1.c
lib/sha1.h
modules/crypto/sha1