summaryrefslogtreecommitdiff
path: root/modules/crypto/md5
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-09-19 01:35:19 +0200
committerBruno Haible <bruno@clisp.org>2021-09-19 01:35:19 +0200
commit439979c0004197d6e0dd67c7807f57edacdf8a0d (patch)
tree27721689d06471251d0f283b6098a21e763c9406 /modules/crypto/md5
parent88c2657f2a985387094ecf26d1b0373151ea65d2 (diff)
downloadgnulib-439979c0004197d6e0dd67c7807f57edacdf8a0d.tar.gz
md5: Clarify module to source relation.
* lib/md5-stream.c: New file, extracted from lib/md5.c. * lib/md5.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, md5_stream): Moved to md5-stream.c. * lib/md5.h: Tweak. * modules/crypto/md5 (Files): Add lib/md5-stream.c. (configure.ac): Don't define GL_COMPILE_CRYPTO_STREAM. (Makefile.am): Arrange to compile md5-stream.c. (Link): Mention $(LIB_CRYPTO).
Diffstat (limited to 'modules/crypto/md5')
-rw-r--r--modules/crypto/md56
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/crypto/md5 b/modules/crypto/md5
index afcdbc38fa..ea9722ed3b 100644
--- a/modules/crypto/md5
+++ b/modules/crypto/md5
@@ -2,19 +2,23 @@ Description:
Compute MD5 checksum.
Files:
+lib/md5-stream.c
Depends-on:
crypto/af_alg
crypto/md5-buffer
configure.ac:
-AC_DEFINE([GL_COMPILE_CRYPTO_STREAM], 1, [Compile Gnulib crypto stream ops.])
Makefile.am:
+lib_SOURCES += md5-stream.c
Include:
"md5.h"
+Link:
+$(LIB_CRYPTO)
+
License:
LGPLv2+