1. 12 Feb, 2016 9 commits
    • Richard Levitte's avatar
      Let all TLSProxy based tests display debug text conditionally · b44b935e
      Richard Levitte authored
      
      
      If the environment variable HARNESS_ACTIVE isn't defined or
      HARNESS_VERBOSE is defined, it's probable that lots of output is
      desired.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      b44b935e
    • Richard Levitte's avatar
      Rethink logging of test recipes · b843cdb1
      Richard Levitte authored
      
      
      The logging that was performed in OpenSSL::Test was initially set up
      as a means not to let messages that test programs write to STDERR get
      displayed when a test isn't running in verbose mode.  However, the way
      it was implemented, it meant that those messages were never displayed,
      and you had to look in a test log.  This also meant that output to
      STDERR and output to STDOUT got broken apart, which isn't optimal.
      
      So, we remove the whole test log file implementation, and instead,
      we're sending STDERR to the null device unless one of these conditions
      apply:
      
      - the test recipe already redirects stderr.  Just let it.
      - the environment variable HARNESS_ACTIVE is undefined, meaning the
        recipe is run directly as a perl script instead of being harnessed
        by Test::Harness
      - the environment variable HARNESS_VERBOSE is set.
      
      Getting a full log of the tests now becomes as simple as this:
      
          HARNESS_VERBOSE=yes make test 2>&1 | tee tests.log
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      b843cdb1
    • Richard Levitte's avatar
      Better workaround for VMS getnameinfo() bug · 6faffd0a
      Richard Levitte authored
      
      
      The actual bug with current getnameinfo() on VMS is not that it puts
      gibberish in the service buffer, but that it doesn't touch it at all.
      The gibberish we dealt with before was simply stuff that happened to
      be on the stack.
      
      It's better to initialise the service buffer properly (with the empty
      string) and check if it's still an empty string after the
      getnameinfo() call, and fill it with the direct numerical translation
      of the raw port if that's the case.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      6faffd0a
    • Richard Levitte's avatar
      Adjust transfer::Text::Template.pm for alternate directory name · c680f77f
      Richard Levitte authored
      
      
      On VMS, periods in directory names weren't allowed.  To counter that,
      unpackers such as VMSTAR convert periods in directory names to
      underscores.  We need to count that in and add an alternative library
      path for Text::Template.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      c680f77f
    • Emilia Kasper's avatar
      RT 3854: Update apps/req · a7626557
      Emilia Kasper authored
      
      
      Change the default keysize to 2048 bits, and the minimum to 512 bits.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      a7626557
    • Richard Levitte's avatar
      Remove last chomps · 04f171c0
      Richard Levitte authored
      
      
      In the previous commit to change all chomp to a more flexible regexp,
      Configure was forgotten.  This completes the change.
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      04f171c0
    • Matt Caswell's avatar
      Fix the enable-ssl-trace config option · c6f9019b
      Matt Caswell authored
      
      
      The recent removal of static ECDH broke the enable-ssl-trace compilation.
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      c6f9019b
    • Richard Levitte's avatar
      make generate · 04b76df3
      Richard Levitte authored
      
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      04b76df3
    • Richard Levitte's avatar
      Generate progs.h from a bunch of files instead of internal knowledge · fb3e2a88
      Richard Levitte authored
      
      
      apps/progs.pl counted on the caller to provide the exact command
      files.  The unified build doesn't have that knowledge, and the easier
      and more flexible thing to do is to feed it all the apps/*.c files and
      let it figure out the command names by looking inside (looking for
      /int ([a-z0-9][a-z0-9_]*)_main\(int argc,/).
      
      Also, add it to the generate command, since it's a versioned file.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      fb3e2a88
  2. 11 Feb, 2016 31 commits