1. 11 2月, 2016 3 次提交
    • R
      Unified build: Keep track of generated header files · e737d7b1
      Richard Levitte 提交于
      If someone runs a mixed unixmake / unified environment (the unified
      build tree would obviously be out of the source tree), the unified
      build will pick up on the unixmake crypto/buildinf.h because of
      assumptions made around this sort of declaration (found in
      crypto/build.info):
      
          DEPENDS[cversion.o]=buildinf.h
      
      The assumption was that if such a header could be found in the source
      tree, that was the one to depend on, otherwise it would assume it
      should be in the build tree.
      
      This change makes sure that sort of mix-up won't happen again.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      e737d7b1
    • R
      Remove the "make depend" message · d20bb611
      Richard Levitte 提交于
      It's not necessary for a pristine source, and a developer that makes
      changes usually knows what to do.
      
      Also, there was this mechanism that would do a "make depend"
      automatically which hasn't been used for so many years.  Removed as
      well.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      d20bb611
    • R
      Produce buildinf.h on Windows the same way as on Unix · f4a748a1
      Richard Levitte 提交于
      Because ENGINESDIR and OPENSSLDIR typically contains backslashes, they
      need to be escaped just right.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      f4a748a1
  2. 10 2月, 2016 6 次提交
  3. 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
  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. 05 2月, 2016 1 次提交
  6. 04 2月, 2016 2 次提交
  7. 03 2月, 2016 1 次提交
  8. 01 2月, 2016 4 次提交
  9. 31 1月, 2016 2 次提交
  10. 30 1月, 2016 6 次提交
  11. 29 1月, 2016 2 次提交
  12. 28 1月, 2016 3 次提交
    • R
      Remove EIGHT_BIT and SIXTEEN_BIT · b4f35e5e
      Rich Salz 提交于
      Also cleaned up bn_prime.pl to current coding style.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      b4f35e5e
    • 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
    • R
      Fix check of what makedepprog should be · 8ed40b83
      Richard Levitte 提交于
      A mistake was made and the setting of this config variable got
      reverted to an older behavior.  This restores the latest.
      Reviewed-by: NEmilia Käsper <emilia@openssl.org>
      8ed40b83
  13. 27 1月, 2016 1 次提交
  14. 26 1月, 2016 3 次提交
    • R
      Use Configure's @disablables and %disabled through configdata.pm · 96d2d7bc
      Richard Levitte 提交于
      Enhances the routines in OpenSSL::Test::Utils for checking disabled
      stuff to get their information directly from Configure instead of
      'openssl list -disabled'.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      96d2d7bc
    • R
      Small cleanups in Configure · f0bd4686
      Richard Levitte 提交于
      - Small rearrangement of the TABLE and HASH printouts, and adding
        printout of the "build_scheme" item
      - Renamed "engines_obj" to "padlock_obj"
      - Moved the runs of dofile down...  it didn't quite make sense to have
        that in the middle of a printout
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      f0bd4686
    • R
      Generate warning text · 9ab6fc59
      Richard Levitte 提交于
      Now that we're using templates, we should warn people not to edit the
      resulting file.  We do it through util/dofile.pl, which is enhanced
      with an option to tell what file it was called from.  We also change
      the calls so the template files are on the command line instead of
      being redirected through standard input.  That way, we can display
      something like this (example taken from include/openssl/opensslconf.h):
      
          /* WARNING: do not edit! */
          /* Generated by Configure from include/openssl/opensslconf.h.in */
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      9ab6fc59