1. 26 5月, 2023 1 次提交
  2. 12 4月, 2023 2 次提交
  3. 01 7月, 2022 1 次提交
  4. 10 8月, 2021 1 次提交
  5. 27 2月, 2020 1 次提交
  6. 23 10月, 2019 1 次提交
  7. 22 8月, 2019 1 次提交
    • R
      openssl dgst, openssl enc: check for end of input · 8be96f23
      Richard Levitte 提交于
      The input reading loop in 'openssl dgst' and 'openssl enc' doesn't
      check for end of input, and because of the way BIO works, it thereby
      won't detect that the end is reached before the read is an error.
      With the FILE BIO, an error occurs when trying to read past EOF, which
      is fairly much ok, except when the command is used interactively, at
      least on Unix.  The result in that case is that the user has to press
      Ctrl-D twice for the command to terminate.
      
      The issue is further complicated because both these commands use
      filter BIOs on top of the FILE BIO, so a naïve attempt to check
      BIO_eof() doesn't quite solve it, since that only checks the state of
      the source/sink BIO, and the filter BIO may have some buffered data
      that still needs to be read.  Fortunately, there's BIO_pending() that
      checks exactly that, if any filter BIO has pending data that needs to
      be processed.
      
      We end up having to check both BIO_pending() and BIO_eof().
      
      Thanks to Zsigmond Lőrinczy for the initial effort and inspiration.
      
      Fixes #9355
      Reviewed-by: NTomas Mraz <tmraz@fedoraproject.org>
      (Merged from https://github.com/openssl/openssl/pull/9668)
      
      (cherry picked from commit 8ed7bbb411d2a9e0edef928958ad955e0be3d6dd)
      8be96f23
  8. 28 5月, 2019 1 次提交
  9. 01 4月, 2019 1 次提交
  10. 21 2月, 2018 1 次提交
  11. 13 2月, 2018 1 次提交
  12. 01 2月, 2018 1 次提交
  13. 08 12月, 2017 1 次提交
  14. 17 10月, 2017 1 次提交
  15. 13 10月, 2017 1 次提交
  16. 10 10月, 2017 1 次提交
  17. 21 8月, 2017 1 次提交
  18. 15 8月, 2017 2 次提交
  19. 17 7月, 2017 1 次提交
    • R
      Standardize apps use of -rand, etc. · 3ee1eac2
      Rich Salz 提交于
      Standardized the -rand flag and added a new one:
          -rand file...
                  Always reads the specified files
          -writerand file
                  Always writes to the file on exit
      
      For apps that use a config file, the RANDFILE config parameter reads
      the file at startup (to seed the RNG) and write to it on exit if
      the -writerand flag isn't used.
      
      Ensured that every app that took -rand also took -writerand, and
      made sure all of that agreed with all the documentation.
      
      Fix error reporting in write_file and -rand
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/3862)
      3ee1eac2
  20. 06 7月, 2017 1 次提交
  21. 05 7月, 2017 1 次提交
  22. 03 7月, 2017 1 次提交
  23. 21 6月, 2017 1 次提交
  24. 13 6月, 2017 1 次提交
  25. 25 4月, 2017 1 次提交
  26. 31 3月, 2017 1 次提交
  27. 09 3月, 2017 1 次提交
  28. 08 3月, 2017 1 次提交
  29. 23 2月, 2017 1 次提交
  30. 19 10月, 2016 1 次提交
  31. 15 10月, 2016 1 次提交
  32. 20 7月, 2016 1 次提交
  33. 25 6月, 2016 1 次提交
  34. 18 5月, 2016 1 次提交
  35. 17 5月, 2016 1 次提交
  36. 21 4月, 2016 2 次提交
  37. 18 4月, 2016 1 次提交