Skip to content
  1. Jun 13, 2016
  2. Jun 12, 2016
  3. Jun 11, 2016
  4. Jun 10, 2016
  5. Jun 09, 2016
  6. Jun 08, 2016
  7. Jun 07, 2016
    • Matt Caswell's avatar
      Add empty record tests · 4f0c4757
      Matt Caswell authored
      
      
      The previous commit changed how we handle out-of-context empty records.
      This commit adds some tests for the various scenarios. There are three
      tests:
      1: Check that if we inject an out-of-context empty record then we fail
      2: Check that if we inject an in-context empty record then we succeed
      3: Check that if we inject too many in-context empty records then we fail.
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      4f0c4757
    • Matt Caswell's avatar
      Reject out of context empty records · 255cfeac
      Matt Caswell authored
      
      
      Previously if we received an empty record we just threw it away and
      ignored it. Really though if we get an empty record of a different content
      type to what we are expecting then that should be an error, i.e. we should
      reject out of context empty records. This commit makes the necessary changes
      to achieve that.
      
      RT#4395
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      255cfeac
    • Matt Caswell's avatar
      Fix pipelining bug · 0aac3a6b
      Matt Caswell authored
      
      
      The number of read pipelines should be reset in the event of reuse of an
      SSL object.
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      0aac3a6b