1. 16 Sep, 2015 1 commit
  2. 15 Sep, 2015 3 commits
  3. 14 Sep, 2015 2 commits
  4. 12 Sep, 2015 1 commit
  5. 11 Sep, 2015 4 commits
  6. 10 Sep, 2015 4 commits
  7. 09 Sep, 2015 7 commits
    • David Woodhouse's avatar
      RT3992: Make SCT #ifdeffable. · 05d7bf6c
      David Woodhouse authored
      
      
      This code does open-coded division on 64-bit quantities and thus when
      building with GCC on 32-bit platforms will require functions such as
      __umoddi3 and __udivdi3 from libgcc.
      
      In constrained environments such as firmware, those functions may not
      be available. So make it possible to compile out SCT support, which in
      fact (in the case of UEFI) we don't need anyway.
      
      Signed-off-by: default avatarRich Salz <rsalz@akamai.com>
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      05d7bf6c
    • Richard Levitte's avatar
      84d90cf3
    • Richard Levitte's avatar
      Make sure the temporary error log resides in a well defined location · ceffb33d
      Richard Levitte authored
      
      
      If a test recipe does something like this:
      
          indir "foo.$$" => sub {
              chmod 0500, File::Spec->curdir();
              ok(run(app(["something"])));
          }
      
      we get a problem, because we were storing the temporary stderr file in
      the current directory at all times (so while inside the 'indir', we
      would attemp to store it in "foo.$$").
      
      So, change our ways to always store that temporary file in the exact
      same location, defined by the environment variable RESULT_D, or
      failing that TEST_D, or failing that $TOP/test.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      ceffb33d
    • Dr. Stephen Henson's avatar
    • Emilia Kasper's avatar
      PACKET: add PACKET_memdup and PACKET_strndup · 6d41fc80
      Emilia Kasper authored
      Use each once in s3_srvr.c to show how they work.
      
      Also fix a bug introduced in c3fc7eea
      
      
      and made apparent by this change:
      ssl3_get_next_proto wasn't updating next_proto_negotiated_len
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      6d41fc80
    • David Woodhouse's avatar
      RT3993: Fix error found by VS2008 · d728f0f5
      David Woodhouse authored
      
      
      Cast and then negate, don't negate an unsigned.
      
      Signed-off-by: default avatarRich Salz <rsalz@akamai.com>
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      d728f0f5
    • David Woodhouse's avatar
      RT3969: Add OPENSSL_SYS_UEFI · 4d60c7e1
      David Woodhouse authored
      This provides support for building in the EDK II reference implementation
      of UEFI. Most UEFI firmware in existence uses OpenSSL for implementing
      the core cryptographic functionality needed for Secure Boot.
      
      This has always previously been handled with external patches to OpenSSL
      but we are now making a concerted effort to eliminate those.
      
      In this mode, we don't actually use the OpenSSL makefiles; we process
      the MINFO file generated by 'make files' and incorporate it into the
      EDK2 build system.
      
      Since EDK II builds for various targets with varying word size and we
      need to have a single prepackaged configuration, we deliberately don't
      hard-code the setting of SIXTY_FOUR_BIT vs. THIRTY_TWO_BIT in
      opensslconf.h. We bypass that for OPENSSL_SYS_UEFI and allow EDK II
      itself to set those, depending on the architecture.
      
      For x86_64, EDK II sets SIXTY_FOUR_BIT and thus uses 'long long' for the
      64-bit type, even when building with GCC where 'long' is also 64-bit. We
      do this because the ...
      4d60c7e1
  8. 08 Sep, 2015 4 commits
  9. 07 Sep, 2015 14 commits