summaryrefslogtreecommitdiff
path: root/modules/crypto/sha1
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/sha1
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/sha1')
-rw-r--r--modules/crypto/sha11
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/crypto/sha1 b/modules/crypto/sha1
index a4d295049b..3bdf0ea0ae 100644
--- a/modules/crypto/sha1
+++ b/modules/crypto/sha1
@@ -7,6 +7,7 @@ lib/sha1.h
lib/sha1.c
lib/af_alg.h
lib/af_alg.c
+lib/sys-limits.h
m4/gl-openssl.m4
m4/sha1.m4
m4/linux-if-alg.m4