summaryrefslogtreecommitdiff
path: root/modules/crypto/md5
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-05-05 10:27:38 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-05-05 10:36:08 -0700
commita4fd2b6fbc4cd6ea446ebade25af068adb0b761b (patch)
treeafdcba72f389a4613941db788309da9b8e46cb51 /modules/crypto/md5
parentabe288ce682dea7046c6ee4cb64d59945f548ce3 (diff)
downloadgnulib-a4fd2b6fbc4cd6ea446ebade25af068adb0b761b.tar.gz
sys-limits.h: new file for crypto and safe I/O
* lib/af_alg.c: Include sys-limits.h. (MAX_RW_COUNT): Remove. Use replaced by SYS_BUFSIZE_MAX. (afalg_stream): Also reject negative sizes for sendfile; they should not happen and the code is a bit cleaner and faster this way. * lib/safe-read.c: Include sys-limits.h. (BUGGY_READ_MAXIMUM): Remove. All uses replaced by SYS_BUFSIZE_MAX. * lib/sys-limits.h: New file, with values and commentary derived from the old safe-read.c and from GNU Emacs sysdep.c. * modules/crypto/md5, modules/crypto/sha1, modules/crypto/sha256: * modules/crypto/sha512, modules/safe-read, modules/safe-write: Add lib/sys-limits.h to Files section.
Diffstat (limited to 'modules/crypto/md5')
-rw-r--r--modules/crypto/md51
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/crypto/md5 b/modules/crypto/md5
index 3a4c756139..80f14c2fd2 100644
--- a/modules/crypto/md5
+++ b/modules/crypto/md5
@@ -7,6 +7,7 @@ lib/md5.h
lib/md5.c
lib/af_alg.h
lib/af_alg.c
+lib/sys-limits.h
m4/gl-openssl.m4
m4/md5.m4
m4/linux-if-alg.m4