1. 16 11月, 2016 1 次提交
    • M
      Remove a hack from ssl_test_old · e304d3e2
      Matt Caswell 提交于
      ssl_test_old was reaching inside the SSL structure and changing the internal
      BIO values. This is completely unneccessary, and was causing an abort in the
      test when enabling TLSv1.3.
      
      I also removed the need for ssl_test_old to include ssl_locl.h. This
      required the addition of some missing accessors for SSL_COMP name and id
      fields.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      e304d3e2
  2. 02 11月, 2016 1 次提交
  3. 18 8月, 2016 1 次提交
  4. 20 7月, 2016 1 次提交
  5. 19 6月, 2016 1 次提交
  6. 09 6月, 2016 1 次提交
  7. 18 5月, 2016 1 次提交
  8. 17 5月, 2016 1 次提交
  9. 13 5月, 2016 1 次提交
    • E
      Remove proxy tests. Add verify callback tests. · a263f320
      Emilia Kasper 提交于
      The old proxy tests test the implementation of an application proxy
      policy callback defined in the test itself, which is not particularly
      useful.
      
      It is, however, useful to test cert verify overrides in
      general. Therefore, replace these tests with tests for cert verify
      callback behaviour.
      
      Also glob the ssl test inputs on the .in files to catch missing
      generated files.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      a263f320
  10. 12 5月, 2016 1 次提交
    • E
      Replace cipherlist test · 5a22cf96
      Emilia Kasper 提交于
      The old cipherlist test in ssltest.c only tests the internal order of
      the cipher table, which is pretty useless.
      
      Replace this test with a test that catches inadvertent changes to the
      default cipherlist.
      
      Fix run_tests.pl to correctly filter tests that have "list" in their name.
      
      (Also includes a small drive-by fix in .gitignore.)
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      5a22cf96
  11. 16 4月, 2016 1 次提交
  12. 11 4月, 2016 1 次提交
  13. 09 4月, 2016 1 次提交
  14. 08 4月, 2016 1 次提交
    • V
      Suppress CT callback as appropriate · 43341433
      Viktor Dukhovni 提交于
      Suppress CT callbacks with aNULL or PSK ciphersuites that involve
      no certificates.  Ditto when the certificate chain is validated via
      DANE-TA(2) or DANE-EE(3) TLSA records.  Also skip SCT processing
      when the chain is fails verification.
      
      Move and consolidate CT callbacks from libcrypto to libssl.  We
      also simplify the interface to SSL_{,CTX_}_enable_ct() which can
      specify either a permissive mode that just collects information or
      a strict mode that requires at least one valid SCT or else asks to
      abort the connection.
      
      Simplified SCT processing and options in s_client(1) which now has
      just a simple pair of "-noct" vs. "-ct" options, the latter enables
      the permissive callback so that we can complete the handshake and
      report all relevant information.  When printing SCTs, print the
      validation status if set and not valid.
      Signed-off-by: NRob Percival <robpercival@google.com>
      Reviewed-by: NEmilia Käsper <emilia@openssl.org>
      43341433
  15. 05 4月, 2016 1 次提交
  16. 28 3月, 2016 1 次提交
  17. 22 3月, 2016 1 次提交
  18. 17 3月, 2016 1 次提交
  19. 11 3月, 2016 1 次提交
  20. 10 3月, 2016 3 次提交
  21. 09 3月, 2016 4 次提交
  22. 08 3月, 2016 2 次提交
  23. 04 3月, 2016 2 次提交
  24. 09 2月, 2016 1 次提交
  25. 06 2月, 2016 1 次提交
  26. 04 2月, 2016 2 次提交
  27. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  28. 19 1月, 2016 1 次提交
    • V
      Support disabling any or all TLS or DTLS versions · 6b01bed2
      Viktor Dukhovni 提交于
      Some users want to disable SSL 3.0/TLS 1.0/TLS 1.1, and enable just
      TLS 1.2.  In the future they might want to disable TLS 1.2 and
      enable just TLS 1.3, ...
      
      This commit makes it possible to disable any or all of the TLS or
      DTLS protocols.  It also considerably simplifies the SSL/TLS tests,
      by auto-generating the min/max version tests based on the set of
      supported protocols (425 explicitly written out tests got replaced
      by two loops that generate all 425 tests if all protocols are
      enabled, fewer otherwise).
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      6b01bed2
  29. 11 1月, 2016 1 次提交
  30. 08 1月, 2016 2 次提交
    • R
      mem functions cleanup · bbd86bf5
      Rich Salz 提交于
      Only two macros CRYPTO_MDEBUG and CRYPTO_MDEBUG_ABORT to control this.
      If CRYPTO_MDEBUG is not set, #ifdef out the whole debug machinery.
              (Thanks to Jakob Bohm for the suggestion!)
      Make the "change wrapper functions" be the only paradigm.
      Wrote documentation!
      Format the 'set func' functions so their paramlists are legible.
      Format some multi-line comments.
      Remove ability to get/set the "memory debug" functions at runtme.
      Remove MemCheck_* and CRYPTO_malloc_debug_init macros.
      Add CRYPTO_mem_debug(int flag) function.
      Add test/memleaktest.
      Rename CRYPTO_malloc_init to OPENSSL_malloc_init; remove needless calls.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      bbd86bf5
    • D
  31. 02 1月, 2016 1 次提交