1. 09 10月, 2018 1 次提交
    • B
      apps: allow empty attribute values with -subj · 3d362f19
      Benjamin Kaduk 提交于
      Historically (i.e., OpenSSL 1.0.x), the openssl applications would
      allow for empty subject attributes to be passed via the -subj argument,
      e.g., `opensl req -subj '/CN=joe/O=/OU=local' ...`.  Commit
      db4c08f0 applied a badly needed rewrite
      to the parse_name() helper function that parses these strings, but
      in the process dropped a check that would skip attributes with no
      associated value.  As a result, such strings are now treated as
      hard errors and the operation fails.
      
      Restore the check to skip empty attribute values and restore
      the historical behavior.
      
      Document the behavior for empty subject attribute values in the
      corresponding applications' manual pages.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/7349)
      3d362f19
  2. 08 10月, 2018 3 次提交
  3. 06 10月, 2018 1 次提交
  4. 05 10月, 2018 6 次提交
  5. 04 10月, 2018 9 次提交
  6. 03 10月, 2018 2 次提交
  7. 02 10月, 2018 3 次提交
  8. 01 10月, 2018 4 次提交
  9. 28 9月, 2018 1 次提交
  10. 26 9月, 2018 3 次提交
  11. 25 9月, 2018 2 次提交
  12. 24 9月, 2018 3 次提交
  13. 23 9月, 2018 1 次提交
    • B
      Create the .rnd file it it does not exist · 0f582209
      Bernd Edlinger 提交于
      It's a bit annoying, since some commands try to read a .rnd file,
      and print an error message if the file does not exist.
      
      But previously a .rnd file was created on exit, and that does no longer
      happen.
      
      Fixed by continuing in app_RAND_load_conf regardless of the error in
      RAND_load_file.
      
      If the random number generator is still not initalized on exit, the
      function RAND_write_file will fail and no .rnd file would be created.
      
      Remove RANDFILE from openssl.cnf
      Reviewed-by: NKurt Roeckx <kurt@roeckx.be>
      (Merged from https://github.com/openssl/openssl/pull/7217)
      0f582209
  14. 22 9月, 2018 1 次提交