1. 24 7月, 2019 1 次提交
  2. 23 7月, 2019 1 次提交
  3. 21 7月, 2019 1 次提交
  4. 20 7月, 2019 1 次提交
  5. 18 7月, 2019 3 次提交
  6. 17 7月, 2019 2 次提交
  7. 16 7月, 2019 3 次提交
  8. 15 7月, 2019 1 次提交
  9. 11 7月, 2019 1 次提交
  10. 08 7月, 2019 4 次提交
  11. 07 7月, 2019 1 次提交
  12. 04 7月, 2019 1 次提交
  13. 03 7月, 2019 1 次提交
    • M
      Adding Test.pm with workaround for Perl abs2rel bug · 374cab63
      Martin Peylo 提交于
      If SRCTOP != BLDTOP, and SRCTOP is given in relative form, e.g.
      "./config ../openssl", then a bug in Perl's abs2rel may trigger that directory-
      rewriting in __cwd results in wrong entries in %directories under certain
      circumstances, e.g. when a test executes run(app(["openssl"]) after indir.
      
      There should not be any need to go to a higher directory from BLDDIR or SRCDIR,
      so it should be OK to use them in their absolute form, also resolving all
      possible symlinks, right from the start.
      
      Following the File::Spec::Functions bug description (reported to perl.org):
      
      When abs2rel gets a path argument with ..s that are crossing over the ..s
      trailing the base argument, the result is wrong.
      
      Example
      PATH: /home/goal/test/..
      BASE: /home/goal/test/../../base
      Good result: ../goal
      Bad  result: ../..
      
      Bug verified with File::Spec versions
      - 3.6301
      - 3.74 (latest)
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/7031)
      
      (cherry picked from commit 7a2027240e1d01f7f5b209998d1de36af221b34b)
      374cab63
  14. 02 7月, 2019 4 次提交
  15. 01 7月, 2019 2 次提交
  16. 27 6月, 2019 2 次提交
  17. 25 6月, 2019 1 次提交
  18. 27 6月, 2019 3 次提交
    • B
      Move 'shared_sigalgs' from cert_st to ssl_st · 915430a0
      Benjamin Kaduk 提交于
      It was only ever in cert_st because ssl_st was a public structure
      and could not be modified without breaking the API.  However, both
      structures are now opaque, and thus we can freely change their layout
      without breaking applications.  In this case, keeping the shared
      sigalgs in the SSL object prevents complications wherein they would
      inadvertently get cleared during SSL_set_SSL_CTX() (e.g., as run
      during a cert_cb).
      
      Fixes #9099
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9157)
      
      (cherry picked from commit 29948ac80c1388cfeb0bd64539ac1fa6e0bb8990)
      915430a0
    • B
      Revert "Delay setting the sig algs until after the cert_cb has been called" · 572492aa
      Benjamin Kaduk 提交于
      This reverts commit 524006dd1b80c1a86a20119ad988666a80d8d8f5.
      
      While this change did prevent the sigalgs from getting inadvertently
      clobbered by SSL_set_SSL_CTX(), it also caused the sigalgs to not be
      set when the cert_cb runs.  This, in turn, caused significant breakage,
      such as SSL_check_chain() failing to find any valid chain.  An alternate
      approach to fixing the issue from #7244 will follow.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9157)
      
      (cherry picked from commit 6f34d7bc7d0c7fcd86c6f2772f26e42c925d8505)
      572492aa
    • B
      Add regression test for #9099 · 9863b419
      Benjamin Kaduk 提交于
      Augment the cert_cb sslapitest to include a run that uses
      SSL_check_chain() to inspect the certificate prior to installing
      it on the SSL object.  If the check shows the certificate as not
      valid in that context, we do not install a certificate at all, so
      the handshake will fail later on in processing (tls_choose_sigalg()),
      exposing the indicated regression.
      
      Currently it fails, since we have not yet set the shared sigalgs
      by the time the cert_cb runs.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9157)
      
      (cherry picked from commit 7cb8fb07e8b71dc1fdcb0de10af7fed4347f6ea4)
      9863b419
  19. 24 6月, 2019 2 次提交
  20. 21 6月, 2019 1 次提交
  21. 19 6月, 2019 4 次提交