* libwget/cookie.c: Use atoll() instead of atol()
* libwget/hsts.c: Likewise
* libwget/http.c: Likewise
* libwget/ocsp.c: Likewise
* libwget/tls_session.c: Likewise
* libwget/hpkp.c: Change type of maxage from long to time_t
* libwget/cookie.c: Write time_t as long long int
* libwget/hsts.c: Likewise
* libwget/ocsp.c: Likewise
* libwget/tls_session.c: Likewise
* libwget/hpkp.c: Read and write time_t as long long int
Reported-By: Tim Rühsen
* libwget/hpkp.c (wget_hpkp_db_check_pubkey): Fix subdomain default,
(wget_hpkp_db_add): Remove entry on zero PINs
* src/wget.c: Remove comment line
* tests/test.c (test_hpkp): Test this feature
* src/wget.c (main): call wget_hpkp_db_save() at the end (params
inverted).
* include/wget/wget.h: export wget_hpkp_db_save().
* libwget/hpkp.c (__hashtable_browse_cb): fix fprintf format string.
(wget_hpkp_db_save): check filename is not an empty string.
(wget_hpkp_db_load): likewise.
* libwget/hpkp.c (__wget_hpkp_new): new function. NO-OP, NEEDS
IMPLEMENTATION.
(__vector_browse_cb): new callback function to browse the vector.
(__hashtable_browse_cb): new callback function to browse the hash
table.
(wget_hpkp_db_save): new function.
(__wget_hpkp_parse_host_line): new function.
(__wget_hpkp_parse_pin_line): new function.
(wget_hpkp_db_load): new function.