1. 13 6月, 2017 1 次提交
  2. 08 6月, 2017 1 次提交
    • R
      make error tables const and separate header file · 52df25cf
      Rich Salz 提交于
      Run perltidy on util/mkerr
      Change some mkerr flags, write some doc comments
      Make generated tables "const" when genearting lib-internal ones.
      Add "state" file for mkerr
      Renerate error tables and headers
      Rationalize declaration of ERR_load_XXX_strings
      Fix out-of-tree build
      Add -static; sort flags/vars for options.
      Also tweak code output
      Moved engines/afalg to engines (from master)
      Use -static flag
      Standard engine #include's of errors
      Don't linewrap err string tables unless necessary
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/3392)
      52df25cf
  3. 11 10月, 2016 1 次提交
    • D
      Remove trailing whitespace from some files. · 609b0852
      David Benjamin 提交于
      The prevailing style seems to not have trailing whitespace, but a few
      lines do. This is mostly in the perlasm files, but a few C files got
      them after the reformat. This is the result of:
      
        find . -name '*.pl' | xargs sed -E -i '' -e 's/( |'$'\t'')*$//'
        find . -name '*.c' | xargs sed -E -i '' -e 's/( |'$'\t'')*$//'
        find . -name '*.h' | xargs sed -E -i '' -e 's/( |'$'\t'')*$//'
      
      Then bn_prime.h was excluded since this is a generated file.
      
      Note mkerr.pl has some changes in a heredoc for some help output, but
      other lines there lack trailing whitespace too.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      609b0852
  4. 21 7月, 2016 1 次提交
  5. 19 5月, 2016 2 次提交
  6. 05 5月, 2016 1 次提交
  7. 20 4月, 2016 1 次提交
  8. 18 2月, 2016 1 次提交
  9. 12 2月, 2016 2 次提交
    • R
      Perl's chop / chomp considered bad, use a regexp instead · 9ba96fbb
      Richard Levitte 提交于
      Once upon a time, there was chop, which somply chopped off the last
      character of $_ or a given variable, and it was used to take off the
      EOL character (\n) of strings.
      
      ... but then, you had to check for the presence of such character.
      
      So came chomp, the better chop which checks for \n before chopping it
      off.  And this worked well, as long as Perl made internally sure that
      all EOLs were converted to \n.
      
      These days, though, there seems to be a mixture of perls, so lines
      from files in the "wrong" environment might have \r\n as EOL, or just
      \r (Mac OS, unless I'm misinformed).
      
      So it's time we went for the more generic variant and use s|\R$||, the
      better chomp which recognises all kinds of known EOLs and chops them
      off.
      
      A few chops were left alone, as they are use as surgical tools to
      remove one last slash or one last comma.
      
      NOTE: \R came with perl 5.10.0.  It means that from now on, our
      scripts will fail with any older version.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      9ba96fbb
    • R
      Don't add filename comment. · 24f0b104
      Rich Salz 提交于
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      24f0b104
  10. 29 1月, 2016 1 次提交
  11. 23 12月, 2015 2 次提交
  12. 05 11月, 2015 1 次提交
  13. 09 4月, 2015 1 次提交
    • R
      Have mkerr.pl treat already existing multiline string defs properly · 2cfdfe09
      Richard Levitte 提交于
      Since source reformat, we ended up with some error reason string
      definitions that spanned two lines.  That in itself is fine, but we
      sometimes edited them to provide better strings than what could be
      automatically determined from the reason macro, for example:
      
          {ERR_REASON(SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER),
           "Peer haven't sent GOST certificate, required for selected ciphersuite"},
      
      However, mkerr.pl didn't treat those two-line definitions right, and
      they ended up being retranslated to whatever the macro name would
      indicate, for example:
      
          {ERR_REASON(SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER),
           "No gost certificate sent by peer"},
      
      Clearly not what we wanted.  This change fixes this problem.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      2cfdfe09
  14. 06 3月, 2015 1 次提交
  15. 22 1月, 2015 1 次提交
  16. 08 12月, 2014 1 次提交
  17. 26 4月, 2014 1 次提交
    • G
      util/mkerr.pl: fix perl warning · 647f360e
      Geoff Thorpe 提交于
      Gets rid of this;
      
      defined(@array) is deprecated at ../util/mkerr.pl line 792.
              (Maybe you should just omit the defined()?)
      defined(@array) is deprecated at ../util/mkerr.pl line 800.
              (Maybe you should just omit the defined()?)
      Signed-off-by: NGeoff Thorpe <geoff@openssl.org>
      647f360e
  18. 22 10月, 2012 1 次提交
  19. 27 12月, 2011 1 次提交
  20. 20 5月, 2011 1 次提交
  21. 09 2月, 2011 1 次提交
  22. 26 1月, 2011 1 次提交
  23. 09 2月, 2010 1 次提交
  24. 15 4月, 2009 1 次提交
  25. 03 6月, 2008 1 次提交
  26. 17 4月, 2008 1 次提交
  27. 12 3月, 2008 1 次提交
  28. 06 4月, 2007 1 次提交
  29. 26 2月, 2007 1 次提交
  30. 22 11月, 2006 1 次提交
  31. 13 2月, 2006 1 次提交
  32. 09 1月, 2006 3 次提交
  33. 02 1月, 2006 2 次提交
  34. 09 5月, 2005 1 次提交