1. 07 Sep, 2015 8 commits
    • Richard Levitte's avatar
      Add math tests recipes · f3356b7f
      Richard Levitte authored
      
      
      The math recipes are among the heavier, but also quite important.
      For the BN test, we have previously relied on bc to verify the numbers.
      Unfortunately, bc doesn't exist everywhere, making tests on some platforms
      rather painful.  With the new recipe (recipes/10-test_bn.t), we rely
      on perl's Math::BigInt and a homegrown simple calculator (recipes/bc.pl)
      that can do enough to cover for bc.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      f3356b7f
    • Richard Levitte's avatar
      Groundwork for a perl based testing framework · aec27d4d
      Richard Levitte authored
      
      
      The idea with this perl based testing framework is to make use of
      what's delivered with perl and exists on all sorts of platforms.
      
      The choice came to using Test::More and Test::Harness, as that seems
      to be the most widely spread foundation, even if perl is aged.
      
      The main runner of the show is run_tests.pl.  As it currently stands,
      it's designed to run from inside Makefile, but it's absolutely
      possible to run it from the command line as well, like so:
      
      	cd test
      	OPENSSL_SRCDIR=.. perl run_tests.pl
      
      The tester scripts themselves are stored in the subdirectory recipes/,
      and initially, we have two such scripts, recipes/00-check_testalltests.t
      and recipes/00-check_testexes.t.  recipes/00-check_testalltests.t will
      pick out the dependencies of "alltests" in test/Makefile, and check if
      it can find recipes with corresponding names.  recipes/00-check_testexes.t
      does something similar, but bases it on existing compiled test binaries.
      They make it easy to figure out what's to be added, and will be
      removed when this effort is finished.
      
      Individual recipes can be run as well, of course, as they are perl
      scripts in themselves.  For example, you can run only
      recipes/00-check_testexes.t like so:
      
      	cd test
      	OPENSSL_SRCDIR=.. perl recipes/00-check_testexes.t
      
      To make coding easier, there's a routine library OpenSSL::Test, which
      is reachable in a perl script like so:
      
      	use lib 'testlib';
      	use OpenSSL::Test;
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      aec27d4d
    • Matt Caswell's avatar
      PACKETise ServerKeyExchange · 8098fc56
      Matt Caswell authored
      
      
      Process the ServerKeyExchange message using the PACKET API
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      8098fc56
    • Matt Caswell's avatar
      PACKETise ServerHello processing · 50932c4a
      Matt Caswell authored
      
      
      Process ServerHello messages using the PACKET API
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      50932c4a
    • Matt Caswell's avatar
      Updates for NumericString support · 0e2d0911
      Matt Caswell authored
      
      
      Ensure that EBCDIC support works and update a comment.
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      0e2d0911
    • Dmitry Belyavsky's avatar
      Add NumericString support · 68572c8a
      Dmitry Belyavsky authored
      
      
      GOST requires improved NumericString support.
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      68572c8a
    • Matt Caswell's avatar
      Fix build break due to rehash command · 26d57a1a
      Matt Caswell authored
      
      
      The build was breaking due to a Makefile recipe expecting an openssl
      version to be on the PATH with support for the rehash command.
      
      Reviewed-by: default avatarBen Laurie <ben@openssl.org>
      26d57a1a
    • Rich Salz's avatar
      fix build breakage on windows · 62fdf4ee
      Rich Salz authored
      
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      62fdf4ee
  2. 06 Sep, 2015 8 commits
  3. 05 Sep, 2015 16 commits
  4. 04 Sep, 2015 4 commits
  5. 03 Sep, 2015 4 commits