1. 20 2月, 2016 1 次提交
    • R
      Always build library object files with shared library cflags · 45502bfe
      Richard Levitte 提交于
      This takes us away from the idea that we know exactly how our static
      libraries are going to get used.  Instead, we make them available to
      build shareable things with, be it other shared libraries or DSOs.
      
      On the other hand, we also have greater control of when the shared
      library cflags.  They will never be used with object files meant got
      binaries, such as apps/openssl or test/test*.
      
      With unified, we take this a bit further and prepare for having to
      deal with extra cflags specifically to be used with DSOs (dynamic
      engines), libraries and binaries (applications).
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      45502bfe
  2. 19 2月, 2016 5 次提交
    • R
      Misc small fixes. · f99f91f1
      Richard Levitte 提交于
      Better libclean that removes the exact files that have been built,
      nothing more and nothing less.
      
      Corrected typo
      
      A couple of editorial changes.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      f99f91f1
    • 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
  3. 18 2月, 2016 6 次提交
  4. 17 2月, 2016 1 次提交
  5. 16 2月, 2016 3 次提交
  6. 15 2月, 2016 1 次提交
  7. 14 2月, 2016 1 次提交
  8. 13 2月, 2016 3 次提交
  9. 12 2月, 2016 3 次提交
  10. 11 2月, 2016 5 次提交
  11. 10 2月, 2016 6 次提交
  12. 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