1. 19 5月, 2016 14 次提交
  2. 18 5月, 2016 21 次提交
  3. 17 5月, 2016 5 次提交
    • M
      Add a comment to explain the use of |num_recs| · be9c8deb
      Matt Caswell 提交于
      In the SSLV2ClientHello processing code in ssl3_get_record, the value of
      |num_recs| will always be 0. This isn't obvious from the code so a comment
      is added to explain it.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      be9c8deb
    • M
      Fix RSA dasync engine bug · 8aac5d2e
      Matt Caswell 提交于
      When RSA went opaque a bug was introduced into the dasync engine where
      the wrong function was being set for the rsa_priv_dec operation.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      8aac5d2e
    • M
      Use the current record offset in ssl3_get_record · de0717eb
      Matt Caswell 提交于
      The function ssl3_get_record() can obtain multiple records in one go
      as long as we are set up for pipelining and all the records are app
      data records. The logic in the while loop which reads in each record is
      supposed to only continue looping if the last record we read was app data
      and we have an app data record waiting in the buffer to be processed. It
      was actually checking that the first record had app data and we have an
      app data record waiting. This actually amounts to the same thing so wasn't
      wrong - but it looks a bit odd because it uses the |rr| array without an
      offset.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      de0717eb
    • M
      There is only one read buffer · 6da57392
      Matt Caswell 提交于
      Pipelining introduced the concept of multiple records being read in one
      go. Therefore we work with an array of SSL3_RECORD objects. The pipelining
      change erroneously made a change in ssl3_get_record() to apply the current
      record offset to the SSL3_BUFFER we are using for reading. This is wrong -
      there is only ever one read buffer. This reverts that change. In practice
      this should make little difference because the code block in question is
      only ever used when we are processing a single record.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      6da57392
    • K
      Fix typos in apps/enc.c · 5507b961
      Kurt Cancemi 提交于
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      5507b961