Skip to content
  1. May 04, 2016
  2. May 03, 2016
  3. May 02, 2016
  4. May 01, 2016
  5. Apr 29, 2016
  6. Apr 25, 2016
  7. Apr 21, 2016
  8. Apr 20, 2016
  9. Apr 19, 2016
  10. Apr 18, 2016
  11. Apr 15, 2016
  12. Apr 14, 2016
  13. Apr 13, 2016
    • Richard Levitte's avatar
      Fix the handling of --with-zlib-include · da430a55
      Richard Levitte authored
      
      
      The handling was Unix centric, already in Configure.  Change that to
      just collect the value and let the build file templates figure out
      what to do with it.
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      da430a55
    • Richard Levitte's avatar
      Remake the way dynamic zlib is loaded · 5a5c0b95
      Richard Levitte authored
      
      
      Instead of absolute hard coding of the libz library name, have it use
      the macro LIBZ, which is set to defaults we know in case it's
      undefined.
      
      This allows our configuration to set something that's sane on current
      or older platforms, and allows the user to override it by defining
      LIBZ themselves.
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      5a5c0b95
    • Richard Levitte's avatar
    • Richard Levitte's avatar
      Fix zlib configuration options. · 62890f47
      Richard Levitte authored
      
      
      The macros ZLIB and ZLIB_SHARED weren't appropriately defined,
      deviating wrongly from how they worked in earlier OpenSSL versions.
      So, restore it so that ZLIB is defined if configured "enable-zlib" and
      so that ZLIB and ZLIB_SHARED are defined if configured
      "enable-zlib-dynamic".
      
      Additionally, correct the interpretation of the --with-zlib-lib value
      on Windows and VMS, where it's used to indicate the actual zlib
      zlib library file / logical name, as that can differ depending on zlib
      version and packaging on those platforms.
      
      Finally for Windows and VMS, we also define the macro LIBZ with that
      file name / logical name when configured "zlib-dynamic", so the
      compression unit can pick it up and use it.
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      62890f47
  14. Apr 07, 2016
  15. Apr 06, 2016
  16. Apr 05, 2016
    • Emilia Kasper's avatar
      New SSL test framework · 453dfd8d
      Emilia Kasper authored
      
      
      Currently, SSL tests are configured via command-line switches to
      ssltest.c. This results in a lot of duplication between ssltest.c and
      apps, and a complex setup. ssltest.c is also simply old and needs
      maintenance.
      
      Instead, we already have a way to configure SSL servers and clients, so
      we leverage that. SSL tests can now be configured from a configuration
      file. Test servers and clients are configured using the standard
      ssl_conf module. Additional test settings are configured via a test
      configuration.
      
      Moreover, since the CONF language involves unnecessary boilerplate, the
      test conf itself is generated from a shorter Perl syntax.
      
      The generated testcase files are checked in to the repo to make
      it easier to verify that the intended test cases are in fact run; and to
      simplify debugging failures.
      
      To demonstrate the approach, min/max protocol tests are converted to the
      new format. This change also fixes MinProtocol and MaxProtocol
      handling. It was previously requested that an SSL_CTX have both the
      server and client flags set for these commands; this clearly can never work.
      
      Guide to this PR:
       - test/ssl_test.c - test framework
       - test/ssl_test_ctx.* - test configuration structure
       - test/handshake_helper.* - new SSL test handshaking code
       - test/ssl-tests/ - test configurations
       - test/generate_ssl_tests.pl - script for generating CONF-style test
         configurations from perl inputs
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      453dfd8d
  17. Apr 03, 2016
  18. Apr 02, 2016