Commit Graph

12 Commits

Author SHA1 Message Date
15ba1db248 Update copyrights 2023-08-31 12:57:30 +02:00
a0079f0ec6 * libwget/hash_printf.c: Replace VLA 2023-07-31 18:19:18 +02:00
3dc7f71098 Update copyright year 2022-02-25 17:46:43 +01:00
22162f82b2 Update copyright year 2021-01-22 21:58:38 +01:00
59d9ecd9c0 * Update copyright year to 2020 2020-01-10 00:33:02 +01:00
4b9edbad2d Update Copyright statements to be compatible with update-copyright module 2019-09-10 23:41:56 +02:00
54c32f5627 Cleanup + amend return vales of buffer functions
* include/wget/wget.h: Add wget_buffer.error
* libwget/buffer.c: Amend docs,
  change return type of wget_buffer_init(),
  amend wget_buffer_alloc(),
  set buf.error in _buffer_realloc()
* libwget/printf.c: Check buf.error, return (size_t)-1
* unit-tests/test.c: Amend tests appropriately
2019-08-21 21:46:20 +02:00
fc627c2546 Rename wget_digest_algorithm_t -> wget_digest_algorithm
* include/wget/wget.h: Rename wget_digest_algorithm_t -> wget_digest_algorithm
* libwget/hash_printf.c: Likewise
* libwget/hashfile.c: Likewise
2019-07-19 16:55:08 +02:00
cdb3600791 Update copyrigght to 2019 2019-01-02 12:42:53 +01:00
3688ffb941 Update copyright to 2018 2018-04-30 20:52:11 +02:00
dcdf3a4155 Fix some doxygen issues
* libwget/hash_printf.c: Fix name of param
* libwget/hpkp.c: Document missing param,
  (wget_hpkp_db_add): Rename param
* libwget/ssl_gnutls.c: Fix \ref syntax warnings
* libwget/strscpy.c: Fix param usage in docs
2017-12-02 14:26:11 +01:00
01a08e2f3f Add support for RFC 7616 HTTP Digest Access Authentication
* docs/Makefile.am: Remove libwget-md5.3
* include/wget/wget.h: Remove wget_md5_printf_hex(),
  add wget_hash_printf_hex()
* libwget/Makefile.am: Rename md5.c to hash_printf.c
* libwget/hash_printf.c: New file with wget_hash_printf_hex()
* libwget/http.c (wget_http_add_credentials): Remove hardcoded MD5 algo
* tests/test-metalink.c: Use wget_hash_printf_hex()

RFC 7616 adds/replaces the MD5 digest algorithm with SHA-256.
2017-10-29 18:32:29 +01:00