1. 23 Jun, 2020 1 commit
  2. 25 May, 2020 1 commit
  3. 24 May, 2020 1 commit
  4. 26 Apr, 2020 1 commit
  5. 22 Apr, 2020 1 commit
  6. 19 Apr, 2020 3 commits
  7. 12 Apr, 2020 3 commits
  8. 07 Apr, 2020 3 commits
    • Ander Juaristi's avatar
      test-ocsp-stap: Skip · 27c382c9
      Ander Juaristi authored
      OCSP stapling is not yet supported in OpenSSL.
      
       * tests/test-ocsp-stap.c (main): skip this test in OpenSSL
      27c382c9
    • Ander Juaristi's avatar
      OpenSSL: Update stats · 684b434c
      Ander Juaristi authored
       * libwget/ssl_openssl.c (openssl_revocation_check_fn): update stats
         (wget_ssl_open): update stats
      684b434c
    • Ander Juaristi's avatar
      OpenSSL: Add OCSP support · 6810ab7b
      Ander Juaristi authored
       * libwget/ssl_gnutls.c: replace _config with config
       * libwget/ssl_openssl.c (wget_ssl_set_config_int): new options
         WGET_SSL_OCSP_NONCE and WGET_SSL_OCSP_DATE.
         (openssl_revocation_check_fn): implement OCSP in the OpenSSL backend,
         and update stats
         (ssl_set_alpn_selected_protocol): update stats
         (verify_hpkp): update stats
         (wget_ssl_open): update stats
      6810ab7b
  9. 30 Mar, 2020 2 commits
    • Ander Juaristi's avatar
      Include serverAuth extension in OCSP certificates · 239ec8a9
      Ander Juaristi authored
      Since the OCSP tests use the same certificate chain for both the OCSP server and
      the HTTPS server, the 'serverAuth' flags needs to be added, in addition to the OCSP flags.
      
      OpenSSL will refuse to run a TLS handshake for HTTPS if that flag is not present.
      
       * tests/certs/ocsp/demoCA/*, tests/certs/ocsp/*.pem: change testing certificates
       * tests/certs/ocsp/ocsp_resp_revoked.der,
         tests/certs/ocsp/ocsp_stapled_resp.der
         tests/certs/ocsp/ocsp_resp_ok.der: update OCSP responses to contain
         the new certificates
       * tests/certs/ocsp/interm.cnf: add the serverAuth extension
       * tests/certs/ocsp/root-template.txt: likewise
      239ec8a9
    • Ander Juaristi's avatar
      Adapt configure.ac to support multiple SSL/TLS backends · a8b7bf99
      Ander Juaristi authored
      This patch modifies `configure.ac` to support GnuTLS, OpenSSL and wolfSSL as the SSL/TLS backends.
      
      Either of these can be enabled at compile time the `configure` switch `--with-ssl`. Example:
      
          ./configure --with-ssl=openssl
      
      If `--with-ssl` is omitted, the default behavior will be to build with GnuTLS if available, and without
      TLS if not. TLS can be explicitly disabled with `--without-ssl`.
      
      Regardless of which specific backend has been selected, the TLS and OCSP tests will always be built with GnuTLS,
      as that is the only backend currently supported in the test suite.
      
      It renames the constant `HAVE_GNUTLS_OCSP_H` to a more generic `WITH_OCSP`, that captures
      the notion that OCSP has been enabled at compile-time, hiding the specific backend.
      
      Changed files
      
       * configure.ac: honor --with-ssl option, but keep on testing for GnuTLS
         for the test suite.
       * libwget/ssl_gnutls.c: replace HAVE_GNUTLS_OCSP_H with WITH_OCSP
       * libwget/ssl_openssl.c: likewise
       * tests/libtest.c: replace HAVE_GNUTLS_OCSP_H with WITH_OCSP.
         Check for WITH_GNUTLS_IN_TESTSUITE.
      a8b7bf99
  10. 28 Mar, 2020 2 commits
  11. 17 Mar, 2020 12 commits
  12. 15 Mar, 2020 3 commits
    • Tim Rühsen's avatar
      Implement HTML download attribute · fcfd2993
      Tim Rühsen authored
      * bootstrap.conf: Add gnulib module 'filename'.
      * src/blacklist.c (get_local_filename_real): Remove const from return type.
        (get_local_filename): Likewise.
      * src/wget.c: Include "filename.h".
        (queue_url_from_remote): Add param 'download_name'.
        (queue_url_from_remote): Change local filename to that given by 'download' tag.
        (html_parse): Create C string from 'download' value.
      * src/wget_blacklist.h (blacklist_entry): Remove const from local_filename.
      fcfd2993
    • Tim Rühsen's avatar
      Parse HTML download attribute · ef40fb52
      Tim Rühsen authored
      * examples/print_html_urls.c: Print download attribute.
      * include/wget/wget.h (wget_html_parsed_url): Add download member.
      * libwget/html_url.c (html_get_url): Parse download attribute.
      ef40fb52
    • Tim Rühsen's avatar
  13. 26 Feb, 2020 1 commit
  14. 25 Feb, 2020 6 commits