1. 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
  2. 23 12月, 2015 1 次提交
  3. 25 11月, 2015 1 次提交
  4. 23 11月, 2015 1 次提交
  5. 22 11月, 2015 1 次提交
  6. 18 11月, 2015 1 次提交
  7. 31 10月, 2015 1 次提交
  8. 05 10月, 2015 1 次提交
  9. 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
  10. 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
  11. 14 5月, 2015 1 次提交
  12. 03 5月, 2015 1 次提交
  13. 30 1月, 2015 1 次提交
  14. 24 1月, 2015 1 次提交
  15. 22 1月, 2015 1 次提交
  16. 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
  17. 13 1月, 2015 2 次提交
  18. 06 1月, 2015 1 次提交
  19. 31 12月, 2014 1 次提交
  20. 28 12月, 2014 1 次提交
  21. 23 12月, 2014 1 次提交
  22. 20 12月, 2014 1 次提交
  23. 19 12月, 2014 1 次提交
  24. 18 12月, 2014 1 次提交
  25. 08 12月, 2014 1 次提交
  26. 01 10月, 2014 1 次提交
  27. 26 9月, 2014 1 次提交
  28. 25 9月, 2014 2 次提交
  29. 08 9月, 2014 1 次提交
  30. 21 8月, 2014 1 次提交
  31. 09 8月, 2014 2 次提交
  32. 03 7月, 2014 1 次提交
  33. 01 7月, 2014 1 次提交
  34. 09 5月, 2014 1 次提交
    • G
      s_client/s_server: support unix domain sockets · a9351320
      Geoff Thorpe 提交于
      The "-unix <path>" argument allows s_server and s_client to use a unix
      domain socket in the filesystem instead of IPv4 ("-connect", "-port",
      "-accept", etc). If s_server exits gracefully, such as when "-naccept"
      is used and the requested number of SSL/TLS connections have occurred,
      then the domain socket file is removed. On ctrl-C, it is likely that
      the stale socket file will be left over, such that s_server would
      normally fail to restart with the same arguments. For this reason,
      s_server also supports an "-unlink" option, which will clean up any
      stale socket file before starting.
      
      If you have any reason to want encrypted IPC within an O/S instance,
      this concept might come in handy. Otherwise it just demonstrates that
      there is nothing about SSL/TLS that limits it to TCP/IP in any way.
      
      (There might also be benchmarking and profiling use in this path, as
      unix domain sockets are much lower overhead than connecting over local
      IP addresses).
      Signed-off-by: NGeoff Thorpe <geoff@openssl.org>
      a9351320
  35. 25 2月, 2014 1 次提交
    • D
      Avoid Windows 8 Getversion deprecated errors. · a4cc3c80
      Dr. Stephen Henson 提交于
      Windows 8 SDKs complain that GetVersion() is deprecated.
      
      We only use GetVersion like this:
      
      	(GetVersion() < 0x80000000)
      
      which checks if the Windows version is NT based. Use a macro check_winnt()
      which uses GetVersion() on older SDK versions and true otherwise.
      a4cc3c80
  36. 06 9月, 2013 1 次提交