Skip to content
  1. Apr 15, 2016
  2. Apr 14, 2016
  3. 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
  4. Apr 07, 2016
  5. Apr 06, 2016
  6. 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
  7. Apr 03, 2016
  8. Apr 02, 2016
  9. Apr 01, 2016
    • Richard Levitte's avatar
      Force argv to be an array of long pointers on VMS · 368058d0
      Richard Levitte authored
      Reverts commit 087ca80a
      
      
      
      Instead of battling the odd format of argv given to main() in default
      P64 mode, tell the compiler to make it an array of 64-bit pointers
      when compiling in P64 mode.
      
      A note is added in NOTES.VMS regarding minimum DEC C version.
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      368058d0
    • Richard Levitte's avatar
      Make the use of perl more consistent · 5902821d
      Richard Levitte authored
      
      
      - In Configure, register the perl interpreter used to run Configure,
        so that's the one being used throughout instead of something else
        that Configure happens to find.  This is helpful for using a perl
        version that's not necessarely first in $PATH:
      
          /opt/perl/5.22.1/bin/perl ./Configure
      
      - Make apps/tsget a generated file, just like apps/CA.pl, so the
        perl interpreter registered by Configure becomes the hashbang path
        instead of a hardcoded /usr/bin/perl
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      5902821d
  10. Mar 30, 2016
  11. Mar 29, 2016
  12. Mar 23, 2016
  13. Mar 21, 2016