1. 08 3月, 2016 2 次提交
  2. 23 2月, 2016 1 次提交
  3. 12 2月, 2016 1 次提交
  4. 04 2月, 2016 1 次提交
    • R
      Refactoring BIO: add wrappers around sockaddr et al · 28a0841b
      Richard Levitte 提交于
      Because different platforms have different levels of support for IPv6,
      different kinds of sockaddr variants, and some have getaddrinfo et al
      while others don't, we could end up with a mess if ifdefs, duplicate
      code and other maintainance nightmares.
      
      Instead, we're introducing wrappers around the common form for socket
      communication:
      BIO_ADDR, closely related to struct sockaddr and some of its variants.
      BIO_ADDRINFO, closely related to struct addrinfo.
      
      With that comes support routines, both convenient creators and
      accessors, plus a few utility functions:
      
      BIO_parse_hostserv, takes a string of the form host:service and
      splits it into host and service.  It checks for * in both parts, and
      converts any [ipv6-address] syntax to ust the IPv6 address.
      
      BIO_lookup, looks up information on a host.
      
      All routines handle IPv4 (AF_INET) and IPv6 (AF_INET6) addresses, and
      there is support for local sockets (AF_UNIX) as well.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      28a0841b
  5. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  6. 15 1月, 2016 1 次提交
  7. 14 1月, 2016 2 次提交
    • R
      Simplify the EXIT macrot for VMS · f625d383
      Richard Levitte 提交于
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      f625d383
    • R
      Have the VMS exit code follow POSIX conventions · c3944a99
      Richard Levitte 提交于
      It seems like the convention for VMS exit codes is to combine the VMS
      C facility code (0x35a000) with a recoded exit code as follows:
      
          0     => 1
          1-255 => 8*code + 2
      
      We also add 0x10000000, which is the control bit that has DCL not
      report the error on the terminal.  That's just as well, since it would
      be quite nonsensical, for example:
      
          %C-W-NOMSG, Message number 0035A018
      
      We could do all this by using the normal exit() function after having
      defined the macro _POSIX_EXIT.  Unfortunately, this feature only
      exists in VMS C V7.1 and up.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      c3944a99
  8. 23 12月, 2015 1 次提交
  9. 25 11月, 2015 1 次提交
  10. 23 11月, 2015 1 次提交
  11. 22 11月, 2015 1 次提交
  12. 18 11月, 2015 1 次提交
  13. 31 10月, 2015 1 次提交
  14. 05 10月, 2015 1 次提交
  15. 30 9月, 2015 1 次提交
    • D
      Fix no-stdio build · 984d6c60
      David Woodhouse 提交于
      Much related/similar work also done by
      Ivan Nestlerode <ivan.nestlerode@sonos.com>
      
         +Replace FILE BIO's with dummy ops that fail.
         +Include <stdio.h> for sscanf() even with no-stdio (since the declaration
          is there). We rely on sscanf() to parse the OPENSSL_ia32cap environment
          variable, since it can be larger than a 'long'. And we don't rely on the
          availability of strtoull().
         +Remove OPENSSL_stderr(); not used.
         +Make OPENSSL_showfatal() do nothing (currently without stdio there's
          nothing we can do).
         +Remove file-based functionality from ssl/. The function
          prototypes were already gone, but not the functions themselves.
         +Remove unviable conf functionality via SYS_UEFI
         +Add fallback definition of BUFSIZ.
         +Remove functions taking FILE * from header files.
         +Add missing DECLARE_PEM_write_fp_const
         +Disable X509_LOOKUP_hash_dir(). X509_LOOKUP_file() was already compiled out,
          so remove its prototype.
         +Use OPENSSL_showfatal() in CRYPTO_destroy_dynlockid().
         +Eliminate SRP_VBASE_init() and supporting functions. Users will need to
          build the verifier manually instead.
         +Eliminate compiler warning for unused do_pk8pkey_fp().
         +Disable TEST_ENG_OPENSSL_PKEY.
         +Disable GOST engine as is uses [f]printf all over the place.
         +Eliminate compiler warning for unused send_fp_chars().
      Signed-off-by: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      984d6c60
  16. 09 9月, 2015 1 次提交
    • D
      RT3969: Add OPENSSL_SYS_UEFI · 4d60c7e1
      David Woodhouse 提交于
      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 Microsoft toolchain has 32-bit 'long'.
      Signed-off-by: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      4d60c7e1
  17. 14 5月, 2015 1 次提交
  18. 03 5月, 2015 1 次提交
  19. 30 1月, 2015 1 次提交
  20. 24 1月, 2015 1 次提交
  21. 22 1月, 2015 1 次提交
  22. 15 1月, 2015 1 次提交
    • R
      Cleanup OPENSSL_NO_xxx, part 1 · 4b618848
      Rich Salz 提交于
      OPENSSL_NO_RIPEMD160, OPENSSL_NO_RIPEMD merged into OPENSSL_NO_RMD160
      OPENSSL_NO_FP_API merged into OPENSSL_NO_STDIO
      Two typo's on #endif comments fixed:
      	OPENSSL_NO_ECB fixed to OPENSSL_NO_OCB
      	OPENSSL_NO_HW_SureWare fixed to OPENSSL_NO_HW_SUREWARE
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      4b618848
  23. 13 1月, 2015 2 次提交
  24. 06 1月, 2015 1 次提交
  25. 31 12月, 2014 1 次提交
  26. 28 12月, 2014 1 次提交
  27. 23 12月, 2014 1 次提交
  28. 20 12月, 2014 1 次提交
  29. 19 12月, 2014 1 次提交
  30. 18 12月, 2014 1 次提交
  31. 08 12月, 2014 1 次提交
  32. 01 10月, 2014 1 次提交
  33. 26 9月, 2014 1 次提交
  34. 25 9月, 2014 2 次提交
  35. 08 9月, 2014 1 次提交
  36. 21 8月, 2014 1 次提交