Skip to content
  1. Jan 09, 2016
  2. Jan 08, 2016
  3. Jan 07, 2016
  4. Jan 06, 2016
  5. Jan 03, 2016
  6. Jan 02, 2016
    • Richard Levitte's avatar
    • Richard Levitte's avatar
      Fix a possible memleak · 6aa0ba4b
      Richard Levitte authored
      
      
      If there's a failure allocating md_data, the destination pctx will have
      a shared pointer with the source EVP_MD_CTX, which will lead to problems
      when either the source or the destination is freed.
      
      Reviewed-by: default avatarStephen Henson <steve@openssl.org>
      6aa0ba4b
    • Viktor Dukhovni's avatar
      Protocol version selection and negotiation rewrite · 4fa52141
      Viktor Dukhovni authored
      
      
      The protocol selection code is now consolidated in a few consecutive
      short functions in a single file and is table driven.  Protocol-specific
      constraints that influence negotiation are moved into the flags
      field of the method structure.  The same protocol version constraints
      are now applied in all code paths.  It is now much easier to add
      new protocol versions without reworking the protocol selection
      logic.
      
      In the presence of "holes" in the list of enabled client protocols
      we no longer select client protocols below the hole based on a
      subset of the constraints and then fail shortly after when it is
      found that these don't meet the remaining constraints (suiteb, FIPS,
      security level, ...).  Ideally, with the new min/max controls users
      will be less likely to create "holes" in the first place.
      
      Reviewed-by: default avatarKurt Roeckx <kurt@openssl.org>
      4fa52141