Skip to content
  1. Jun 12, 2016
  2. Jun 11, 2016
  3. Jun 10, 2016
  4. Jun 09, 2016
  5. Jun 08, 2016
  6. 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
    • Matt Caswell's avatar
      Add a BN_mod_word test() · f44310e9
      Matt Caswell authored
      
      
      The previous commit fixed a bug with BN_mod_word() which would have been
      caught if we had a test for it. This commit adds one.
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      f44310e9
    • Matt Caswell's avatar
      Fix BN_mod_word bug · 37258dad
      Matt Caswell authored
      
      
      On systems where we do not have BN_ULLONG (e.g. typically 64 bit systems)
      then BN_mod_word() can return incorrect results if the supplied modulus is
      too big.
      
      RT#4501
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      37258dad