summaryrefslogtreecommitdiff
path: root/modules/xprintf-posix-tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-05-05 19:39:37 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-05-05 19:40:03 -0700
commit7cdcfaad536a02b90be6c2104ac4a38bf620bbd1 (patch)
treefeea4aed3e319c18463233a51da102e77da3ce71 /modules/xprintf-posix-tests
parenta80d295ef2b25462b36c1c401653a0fe33cb3a0d (diff)
downloadgnulib-7cdcfaad536a02b90be6c2104ac4a38bf620bbd1.tar.gz
crypto/{md5,sha1,sha256,sha512}: simplify
* lib/md5.c (md5_stream): * lib/sha1.c (sha1_stream): * lib/sha256.c (shaxxx_stream): Simplify, partly by assuming C99. * lib/sha256.c (shaxxx_stream): New function, which implements both sha256 and sha224. Simplify, partly by assuming C99. (sha256_stream, sha224_stream): Use it to avoid code duplication, removing a FIXME. * lib/sha512.c (shaxxx_stream, sha512_stream, sha384_stream): Likewise.
Diffstat (limited to 'modules/xprintf-posix-tests')
0 files changed, 0 insertions, 0 deletions