1. 16 11月, 2016 1 次提交
  2. 14 11月, 2016 1 次提交
  3. 10 11月, 2016 9 次提交
  4. 09 11月, 2016 13 次提交
  5. 08 11月, 2016 1 次提交
    • M
      Partial revert of "Fix client verify mode to check SSL_VERIFY_PEER" · c8e2f98c
      Matt Caswell 提交于
      This partially reverts commit c636c1c4. It also tweaks the documentation
      and comments in this area. On the client side the documented interface for
      SSL_CTX_set_verify()/SSL_set_verify() is that setting the flag
      SSL_VERIFY_PEER causes verfication of the server certificate to take place.
      Previously what was implemented was that if *any* flag was set then
      verification would take place. The above commit improved the semantics to
      be as per the documented interface.
      
      However, we have had a report of at least one application where an
      application was incorrectly using the interface and used *only*
      SSL_VERIFY_FAIL_IF_NO_PEER_CERT on the client side. In OpenSSL prior to
      the above commit this still caused verification of the server certificate
      to take place. After this commit the application silently failed to verify
      the server certificate.
      
      Ideally SSL_CTX_set_verify()/SSL_set_verify() could be modified to indicate
      if invalid flags were being used. However these are void functions!
      
      The simplest short term solution is to revert to the previous behaviour
      which at least means we "fail closed" rather than "fail open".
      
      Thanks to Cory Benfield for reporting this issue.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      c8e2f98c
  6. 07 11月, 2016 1 次提交
    • M
      Always ensure that init_msg is initialised for a CCS · c4377574
      Matt Caswell 提交于
      We read it later in grow_init_buf(). If CCS is the first thing received in
      a flight, then it will use the init_msg from the last flight we received. If
      the init_buf has been grown in the meantime then it will point to some
      arbitrary other memory location. This is likely to result in grow_init_buf()
      attempting to grow to some excessively large amount which is likely to
      fail. In practice this should never happen because the only time we receive
      a CCS as the first thing in a flight is in an abbreviated handshake. None
      of the preceding messages from the server flight would be large enough to
      trigger this.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      c4377574
  7. 04 11月, 2016 12 次提交
  8. 02 11月, 2016 1 次提交
  9. 03 10月, 2016 1 次提交