1. 19 5月, 2015 2 次提交
    • D
      CERT tidy · 76106e60
      Dr. Stephen Henson 提交于
      Move per-connection state out of the CERT structure: which should just be
      for shared configuration data (e.g. certificates to use).
      
      In particular move temporary premaster secret, raw ciphers, peer signature
      algorithms and shared signature algorithms.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      76106e60
    • D
      ASN1 INTEGER refactor. · 6c5b6cb0
      Dr. Stephen Henson 提交于
      Rewrite and tidy ASN1_INTEGER and ASN1_ENUMERATED handling.
      
      Remove code duplication.
      
      New functions to convert between int64_t and ASN.1 types without the
      quirks of the old long conversion functions.
      
      Add documentation.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      6c5b6cb0
  2. 18 5月, 2015 1 次提交
  3. 16 5月, 2015 8 次提交
    • M
      Further version negotiation updates · b2ce0337
      Matt Caswell 提交于
      More miscellaneous updates to version negotiation following feedback.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      b2ce0337
    • M
      Move SSLv3_*method() functions · a304d385
      Matt Caswell 提交于
      Move these functions into t1_clnt.c, t1_srvr.c and t1_meth.c and take
      advantage of the existing tls1_get*_method() functions that all the other
      methods are using. Since these now have to support SSLv3 anyway we might
      as well use the same set of get functions for both TLS and SSLv3.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      a304d385
    • M
      Updates following review comments · d45ba43d
      Matt Caswell 提交于
      Miscellaneous updates following review comments on the version negotiation
      rewrite patches.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      d45ba43d
    • M
      Version negotiation rewrite doc updates · a27e81ee
      Matt Caswell 提交于
      Update various documentation references to the new TLS_*_method names. Also
      add a CHANGES entry.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      a27e81ee
    • M
      Version negotiation rewrite cleanup · a3680c8f
      Matt Caswell 提交于
      Following the version negotiation rewrite all of the previous code that was
      dedicated to version negotiation can now be deleted - all six source files
      of it!!
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      a3680c8f
    • M
      Client side version negotiation rewrite · 13c9bb3e
      Matt Caswell 提交于
      Continuing from the previous commit this changes the way we do client side
      version negotiation. Similarly all of the s23* "up front" state machine code
      has been avoided and again things now work much the same way as they already
      did for DTLS, i.e. we just do most of the work in the
      ssl3_get_server_hello() function.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      13c9bb3e
    • M
      Server side version negotiation rewrite · 32ec4153
      Matt Caswell 提交于
      This commit changes the way that we do server side protocol version
      negotiation. Previously we had a whole set of code that had an "up front"
      state machine dedicated to the negotiating the protocol version. This adds
      significant complexity to the state machine. Historically the justification
      for doing this was the support of SSLv2 which works quite differently to
      SSLv3+. However, we have now removed support for SSLv2 so there is little
      reason to maintain this complexity.
      
      The one slight difficulty is that, although we no longer support SSLv2, we
      do still support an SSLv3+ ClientHello in an SSLv2 backward compatible
      ClientHello format. This is generally only used by legacy clients. This
      commit adds support within the SSLv3 code for these legacy format
      ClientHellos.
      
      Server side version negotiation now works in much the same was as DTLS,
      i.e. we introduce the concept of TLS_ANY_VERSION. If s->version is set to
      that then when a ClientHello is received it will work out the most
      appropriate version to respond with. Also, SSLv23_method and
      SSLv23_server_method have been replaced with TLS_method and
      TLS_server_method respectively. The old SSLv23* names still exist as
      macros pointing at the new name, although they are deprecated.
      
      Subsequent commits will look at client side version negotiation, as well of
      removal of the old s23* code.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      32ec4153
    • R
      Remove unused #ifdef's from header files · 756eff7a
      Rich Salz 提交于
      And remove a duplicate comment, probably from a merge hiccup.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      756eff7a
  4. 15 5月, 2015 3 次提交
  5. 14 5月, 2015 14 次提交
  6. 13 5月, 2015 12 次提交