• Tim Rühsen's avatar
    Document wget_base64_get_(en|de)coded_length() and move to base64.c · 241b9a1d
    Tim Rühsen authored
    * include/wget/wget.h: Declare both function as pure
    * libwget/base64.c: Add both functions incl. documentation,
      (wget_base64_decode_alloc): Remove hard-coded calculation,
      (wget_base64_encode_alloc): Likewise.
    * libwget/tls_session.c (_tls_session_save):
      Use wget_base64_get_encoded_length() instead hard-coded calculation
    * fuzz/libwget_base64_fuzzer.c:
      Avoid both functions to be optimized out
    241b9a1d
Name
Last commit
Last update
..
wget Loading commit data...
Makefile.am Loading commit data...