1. 12 2月, 2016 1 次提交
  2. 11 2月, 2016 2 次提交
  3. 10 2月, 2016 2 次提交
    • R
      unified build scheme: add a "unified" template for VMS descrip.mms · e84193e4
      Richard Levitte 提交于
      As part of this, change util/mkdef.pl to stop adding libraries to
      depend on in its output.  mkdef.pl should ONLY output a symbol
      vector.
      
      Because symbol names can't be longer than 31 characters, we use the
      compiler to shorten those that are longer down to 23 characters plus
      an 8 character CRC.  To make sure users of our header files will pick
      up on that automatically, add the DEC C supported extra headers files
      __decc_include_prologue.h and __decc_include_epilogue.h.
      
      Furthermore, we add a config.com, so VMS people can configure just as
      comfortably as any Unix folks, thusly:
      
          @config
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      e84193e4
    • R
      unified build scheme: add the tweaks to build on Cygwin & Mingw · fcf80c46
      Richard Levitte 提交于
      Cygwin and Mingw name their libraries a bit differently from the rest
      of the POSIXly universe, we need to adapt to that.
      
      In Makefile.tmpl, it means that some hunks will only be output
      conditionally.
      
      This also means that shared_extension for the Cygwin and Mingw
      configurations in Configurations/10-main.conf are changing from .dll.a
      to .dll.  Makefile.shared does a fine job without having them
      specified, and it's much easier to work with tucking an extra .a at
      the end of files in the installation recipes than any amount of name
      rewrites, especially with the support of the SHARED_NAME in the top
      build.info.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      fcf80c46
  4. 07 2月, 2016 1 次提交
    • R
      Enhance and clear the support of linker flags · c86ddbe6
      Richard Levitte 提交于
      Some time ago, we had a ex_libs configuration setting that could be
      divided into lflags and ex_libs.  These got divided in two settings,
      lflags and ex_libs, and the former was interpreted to be general
      linking flags.
      
      Unfortunately, that conclusion wasn't entirely accurate.  Most of
      those linking were meant to end up in a very precise position on the
      linking command line, just before the spec of libraries the linking
      depends on.
      
      Back to the drawing board, we're diving things further, now having
      lflags, which are linking flags that aren't depending on command line
      position, plib_lflags, which are linking flags that should show up just
      before the spec of libraries to depend on, and finally ex_libs, which
      is the spec of extra libraries to depend on.
      
      Also, documentation is changed in Configurations/README.  This was
      previously forgotten.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      c86ddbe6
  5. 30 1月, 2016 2 次提交
  6. 29 1月, 2016 1 次提交
  7. 28 1月, 2016 1 次提交
    • R
      Remove outdated legacy crypto options · 3e9e810f
      Rich Salz 提交于
      Many options for supporting optimizations for legacy crypto on legacy
      platforms have been removed.  This simplifies the source code and
      does not really penalize anyone.
              DES_PTR (always on)
              DES_RISC1, DES_RISC2 (always off)
              DES_INT (always 'unsigned int')
              DES_UNROLL (always on)
              BF_PTR (always on) BF_PTR2 (removed)
              MD2_CHAR, MD2_LONG (always 'unsigned char')
              IDEA_SHORT, IDEA_LONG (always 'unsigned int')
              RC2_SHORT, RC2_LONG (always 'unsigned int')
              RC4_LONG (only int and char (for assembler) are supported)
              RC4_CHUNK (always long), RC_CHUNK_LL (removed)
              RC4_INDEX (always on)
      And also make D_ENCRYPT macro more clear (@appro)
      
      This is done in consultation with Andy.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      3e9e810f
  8. 22 1月, 2016 1 次提交
    • R
      Refactor config - @MK1MF_Builds out, general build scheme in · 88087414
      Richard Levitte 提交于
      Time to get rid of @MK1MF_Builds and introduce a more flexible
      'build_scheme' configuration key.  Its value may be a string or an
      array of strings, meaning we need to teach resolve_config how to
      handle ARRAY referenses.
      
      The build scheme is a word that selects a function to create the
      appropriate result files for a certain configuration.  Currently valid
      build schemes aer "mk1mf" and "unixmake", the plan is however to add
      at least one other for a more universal build scheme.
      
      Incidently, this also adds the functions 'add' and 'add_before', which
      can be used in a configuration, so instead of having to repeatedly
      write a sub like this:
      
      	key1 => sub { join(" ", @_, "myvalues"); },
      	key2 => sub { join(" ", "myvalues", @_); },
      
      one could write this:
      
      	key1 => add(" ", "myvalues"),
      	key2 => add_before(" ", "myvalues"),
      
      The good point with 'add' and 'add_before' is that they handle
      inheritances where the values are a misture of scalars and ARRAYs.  If
      there are any ARRAY to be found, the resulting value will be an ARRAY,
      otherwise it will be a scalar with all the incoming valued joined
      together with the separator given as first argument to add/add_before.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      88087414
  9. 18 1月, 2016 3 次提交
  10. 13 1月, 2016 1 次提交
  11. 11 1月, 2016 1 次提交
  12. 08 1月, 2016 1 次提交
    • R
      mem functions cleanup · bbd86bf5
      Rich Salz 提交于
      Only two macros CRYPTO_MDEBUG and CRYPTO_MDEBUG_ABORT to control this.
      If CRYPTO_MDEBUG is not set, #ifdef out the whole debug machinery.
              (Thanks to Jakob Bohm for the suggestion!)
      Make the "change wrapper functions" be the only paradigm.
      Wrote documentation!
      Format the 'set func' functions so their paramlists are legible.
      Format some multi-line comments.
      Remove ability to get/set the "memory debug" functions at runtme.
      Remove MemCheck_* and CRYPTO_malloc_debug_init macros.
      Add CRYPTO_mem_debug(int flag) function.
      Add test/memleaktest.
      Rename CRYPTO_malloc_init to OPENSSL_malloc_init; remove needless calls.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      bbd86bf5
  13. 12 12月, 2015 1 次提交
  14. 25 11月, 2015 1 次提交
  15. 24 11月, 2015 1 次提交
  16. 21 11月, 2015 1 次提交
    • M
      Add pthread support · 757d1490
      Matt Caswell 提交于
      The forthcoming async code needs to use pthread thread local variables. This
      updates the various Configurations to add the necessary flags. In many cases
      this is an educated guess as I don't have access to most of these
      environments! There is likely to be some tweaking needed.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      757d1490
  17. 12 10月, 2015 1 次提交
  18. 07 10月, 2015 1 次提交
    • A
      Fix travis builds on master · 2d284623
      Alessandro Ghedini 提交于
      -Allow mingw debug builds to fail on Travis CI
      -Fix Travis email notifications config
      -Rename a variable to avoid a bogus warning with old GCC
       error: declaration of ``dup'' shadows a global declaration [-Werror=shadow]
      -Disable pedantic ms-format warnings with mingw
      -Properly define const DH parameters
      -Restore --debug flag in Travis CI builds; -d would get incorrectly passed
       to ./Configure in mingw debug builds.
      Signed-off-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      2d284623
  19. 25 9月, 2015 2 次提交
  20. 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
  21. 02 8月, 2015 1 次提交
  22. 26 5月, 2015 1 次提交
  23. 13 5月, 2015 1 次提交
  24. 02 5月, 2015 1 次提交
  25. 20 4月, 2015 2 次提交
  26. 18 4月, 2015 1 次提交
  27. 02 4月, 2015 1 次提交
  28. 28 3月, 2015 1 次提交
  29. 18 3月, 2015 1 次提交
  30. 17 3月, 2015 2 次提交
  31. 11 3月, 2015 1 次提交
    • R
      Move Configurations* out of the way and rename them. · 97a0cc52
      Richard Levitte 提交于
      Configure would load the glob "Configurations*".  The problem with
      this is that it also loads all kinds of backups of those
      configurations that some editors do, like emacs' classic
      'Configurations~'.  The solution is to give them an extension, such as
      '.conf', and make sure to end the glob with that.
      
      Also, because 'Configurations.conf' makes for a silly name, and
      because a possibly large number of configurations will become clutter,
      move them to a subdirectory 'Configurations/', and rename them to
      something more expressive, as well as something that sets up some form
      of sorting order.  Thus:
      
          Configurations	->	Configurations/10-main.conf
          Configurations.team	->	Configurations/90-team.conf
      
      Finally, make sure that Configure sorts the list of files that 'glob'
      produces, and adapt Makefile.org.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      97a0cc52
  32. 06 3月, 2015 1 次提交