1. 19 2月, 2016 4 次提交
    • R
      Let Configure figure out the diverse shared library and DSO extensions · e987f9f2
      Richard Levitte 提交于
      Then it can pass around the information where it belongs.  The
      Makefile templates pick it up along with other target data, the
      DSO module gets to pick up the information through
      crypto/include/internal/dso_conf.h
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      e987f9f2
    • R
      Rethink the uplink / applink story · 3a55c92b
      Richard Levitte 提交于
      Adding uplink and applink to some builds was done by "magic", the
      configuration for "mingw" only had a macro definition, the Configure
      would react to its presence by adding the uplink source files to
      cpuid_asm_src, and crypto/build.info inherited dance to get it
      compiled, and Makefile.shared made sure applink.o would be
      appropriately linked in.  That was a lot under the hood.
      
      To replace this, we create a few template configurations in
      Configurations/00-base-templates.conf, inherit one of them in the
      "mingw" configuration, the rest is just about refering to the
      $target{apps_aux_src} / $target{apps_obj} in the right places.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      3a55c92b
    • R
      Remove all special make depend flags, as well as OPENSSL_DOING_MAKEDEPEND · ce192ebe
      Richard Levitte 提交于
      All those flags existed because we had all the dependencies versioned
      in the repository, and wanted to have it be consistent, no matter what
      the local configuration was.  Now that the dependencies are gone from
      the versioned Makefile.ins, it makes much more sense to use the exact
      same flags as when compiling the object files.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      ce192ebe
    • R
      Remove outdated DEBUG flags. · d63a5e5e
      Rich Salz 提交于
      Add -DBIO_DEBUG to --strict-warnings.
      Remove comments about outdated debugging ifdef guards.
      Remove md_rand ifdef guarding an assert; it doesn't seem used.
      Remove the conf guards in conf_api since we use OPENSSL_assert, not assert.
      For pkcs12 stuff put OPENSSL_ in front of the macro name.
      Merge TLS_DEBUG into SSL_DEBUG.
      Various things just turned on/off asserts, mainly for checking non-NULL
      arguments, which is now removed: camellia, bn_ctx, crypto/modes.
      Remove some old debug code, that basically just printed things to stderr:
        DEBUG_PRINT_UNKNOWN_CIPHERSUITES, DEBUG_ZLIB, OPENSSL_RI_DEBUG,
        RL_DEBUG, RSA_DEBUG, SCRYPT_DEBUG.
      Remove OPENSSL_SSL_DEBUG_BROKEN_PROTOCOL.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      d63a5e5e
  2. 18 2月, 2016 6 次提交
  3. 17 2月, 2016 1 次提交
  4. 16 2月, 2016 3 次提交
  5. 15 2月, 2016 1 次提交
  6. 14 2月, 2016 1 次提交
  7. 13 2月, 2016 3 次提交
  8. 12 2月, 2016 3 次提交
  9. 11 2月, 2016 5 次提交
  10. 10 2月, 2016 6 次提交
  11. 09 2月, 2016 5 次提交
    • M
      Add an OPENSSL_NO_AUTOERRINIT option · 498abff0
      Matt Caswell 提交于
      This option disables automatic loading of the crypto/ssl error strings in
      order to keep statically linked executable file size down
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      498abff0
    • M
      Provide framework for auto initialise/deinitialise of the library · b184e3ef
      Matt Caswell 提交于
      This commit provides the basis and core code for an auto initialisation
      and deinitialisation framework for libcrypto and libssl. The intention is
      to remove the need (in many circumstances) to call explicit initialise and
      deinitialise functions. Explicit initialisation will still be an option,
      and if non-default initialisation is needed then it will be required.
      Similarly for de-initialisation (although this will be a lot easier since
      it will bring all de-initialisation into a single function).
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b184e3ef
    • R
      Use rel2abs() on VMS, rather than realpath() · ec182ef0
      Richard Levitte 提交于
      It seems realpath() is quite buggy on VMS, or will at least give quite
      surprising results.  On the other hand, realpath() is the better on
      Unix to clean out clutter like foo/../bar on Unix.
      
      So we make out own function to get the absolute directory for a given
      input, and use rel2abs() or realpath() depending on the platform
      Configure runs on.
      
      Issue reported by Steven M. Schweda <sms@antinode.info>
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      ec182ef0
    • R
      unified build scheme: add and document the "unified" driving engine · ddf1847d
      Richard Levitte 提交于
      common.tmpl will be used together with the template build file, and is
      the engine that connects the information gathered from all the
      build.info files with making the build file itself.
      
      This file expects there to be a template section in the build file
      template that defines a number perl functions designed to return
      strings with appropriate lines for the build system at hand.  The
      exact functions, what they can expect as arguments and what output
      they're expected to produce is documented in Configurations/README.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      ddf1847d
    • R
      Use File::Path::mkpath rather than File::Path::make_path · dca99383
      Richard Levitte 提交于
      File::Path::make_path didn't show up before File::Path 2.06 / perl v5.10.1.
      Because we're trying to stay compatible with perl v5.10.0 and up,
      it's better to use the legacy interface.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      dca99383
  12. 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
  13. 05 2月, 2016 1 次提交