1. 27 Mar, 2016 2 commits
    • Fedor Indutny's avatar
      Allow different protocol version when trying to reuse a session · ccae4a15
      Fedor Indutny authored
      
      
      We now send the highest supported version by the client, even if the session
      uses an older version.
      
      This fixes 2 problems:
      - When you try to reuse a session but the other side doesn't reuse it and
        uses a different protocol version the connection will fail.
      - When you're trying to reuse a session with an old version you might be
        stuck trying to reuse the old version while both sides support a newer
        version
      
      Signed-off-by: default avatarKurt Roeckx <kurt@roeckx.be>
      Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>
      
      GH: #852, MR: #2452
      ccae4a15
    • Richard Levitte's avatar
      Math::BigInt does floored divs, BN_div does truncated div, compensate · ce84456d
      Richard Levitte authored
      
      
      According to documentation, perl's Math::BigInt does floored division,
      i.e. the bdiv function does 1 / -4 = -1.  OpenSSL's BN_div, as well as
      bc, do truncated division, i.e. 1 / -4 = 0.
      
      We need to compensate for that difference in test/recipes/bc.pl to
      make sure to verify the bntest results under its own conditions, by
      dividing the absolute values of the given numbers and fixup the
      result's negativity afterwards.
      
      Closes RT#4485
      
      Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>
      ce84456d
  2. 25 Mar, 2016 2 commits
  3. 24 Mar, 2016 2 commits
  4. 23 Mar, 2016 14 commits
  5. 22 Mar, 2016 10 commits
  6. 21 Mar, 2016 10 commits