1. 13 Jun, 2016 3 commits
  2. 12 Jun, 2016 4 commits
  3. 11 Jun, 2016 7 commits
  4. 10 Jun, 2016 9 commits
  5. 09 Jun, 2016 9 commits
  6. 08 Jun, 2016 6 commits
  7. 07 Jun, 2016 2 commits
    • 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