1. 08 1月, 2020 1 次提交
  2. 29 9月, 2019 2 次提交
  3. 16 9月, 2019 2 次提交
    • R
      Unify all assembler file generators · 1aa89a7a
      Richard Levitte 提交于
      They now generally conform to the following argument sequence:
      
          script.pl "$(PERLASM_SCHEME)" [ C preprocessor arguments ... ] \
                    $(PROCESSOR) <output file>
      
      However, in the spirit of being able to use these scripts manually,
      they also allow for no argument, or for only the flavour, or for only
      the output file.  This is done by only using the last argument as
      output file if it's a file (it has an extension), and only using the
      first argument as flavour if it isn't a file (it doesn't have an
      extension).
      
      While we're at it, we make all $xlate calls the same, i.e. the $output
      argument is always quoted, and we always die on error when trying to
      start $xlate.
      
      There's a perl lesson in this, regarding operator priority...
      
      This will always succeed, even when it fails:
      
          open FOO, "something" || die "ERR: $!";
      
      The reason is that '||' has higher priority than list operators (a
      function is essentially a list operator and gobbles up everything
      following it that isn't lower priority), and since a non-empty string
      is always true, so that ends up being exactly the same as:
      
          open FOO, "something";
      
      This, however, will fail if "something" can't be opened:
      
          open FOO, "something" or die "ERR: $!";
      
      The reason is that 'or' has lower priority that list operators,
      i.e. it's performed after the 'open' call.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9884)
      1aa89a7a
    • R
      build.info: For all assembler generators, remove all arguments · a1c8befd
      Richard Levitte 提交于
      Since the arguments are now generated in the build file templates,
      they should be removed from the build.info files.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9884)
      a1c8befd
  4. 17 6月, 2019 1 次提交
  5. 06 12月, 2018 1 次提交
  6. 15 2月, 2018 1 次提交
    • R
      Harmonize the make variables across all known platforms families · 722c9762
      Richard Levitte 提交于
      The make variables LIB_CFLAGS, DSO_CFLAGS and so on were used in
      addition to CFLAGS and so on.  This works without problem on Unix and
      Windows, where options with different purposes (such as -D and -I) can
      appear anywhere on the command line and get accumulated as they come.
      This is not necessarely so on VMS.  For example, macros must all be
      collected and given through one /DEFINE, and the same goes for
      inclusion directories (/INCLUDE).
      
      So, to harmonize all platforms, we repurpose make variables starting
      with LIB_, DSO_ and BIN_ to be all encompassing variables that
      collects the corresponding values from CFLAGS, CPPFLAGS, DEFINES,
      INCLUDES and so on together with possible config target values
      specific for libraries DSOs and programs, and use them instead of the
      general ones everywhere.
      
      This will, for example, allow VMS to use the exact same generators for
      generated files that go through cpp as all other platforms, something
      that has been impossible to do safely before now.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5357)
      722c9762
  7. 28 1月, 2018 1 次提交
  8. 18 10月, 2017 1 次提交
  9. 12 5月, 2017 2 次提交
  10. 28 2月, 2017 2 次提交
  11. 01 6月, 2016 1 次提交
  12. 28 5月, 2016 1 次提交
  13. 18 5月, 2016 1 次提交
  14. 20 4月, 2016 2 次提交
  15. 21 3月, 2016 1 次提交
  16. 13 3月, 2016 1 次提交
  17. 09 3月, 2016 2 次提交
  18. 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
  19. 19 2月, 2016 1 次提交
  20. 14 2月, 2016 1 次提交
  21. 10 2月, 2016 1 次提交
  22. 01 2月, 2016 1 次提交
  23. 30 1月, 2016 1 次提交
  24. 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
  25. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  26. 25 1月, 2016 1 次提交
  27. 20 1月, 2016 1 次提交
  28. 18 1月, 2016 1 次提交
  29. 13 1月, 2016 1 次提交
  30. 11 8月, 2015 1 次提交
  31. 23 5月, 2015 1 次提交
    • R
      Fix the update target and remove duplicate file updates · 0f539dc1
      Richard Levitte 提交于
      We had updates of certain header files in both Makefile.org and the
      Makefile in the directory the header file lived in.  This is error
      prone and also sometimes generates slightly different results (usually
      just a comment that differs) depending on which way the update was
      done.
      
      This removes the file update targets from the top level Makefile, adds
      an update: target in all Makefiles and has it depend on the depend: or
      local_depend: targets, whichever is appropriate, so we don't get a
      double run through the whole file tree.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      0f539dc1
  32. 01 4月, 2015 2 次提交
  33. 29 1月, 2015 1 次提交