1. 18 Sep, 2013 7 commits
    • Dr. Stephen Henson's avatar
      Remove versions test from dtls1_buffer_message · 68039af3
      Dr. Stephen Henson authored
      Since this is always called from DTLS code it is safe to assume the header
      length should be the DTLS value. This avoids the need to check the version
      number and should work with any version of DTLS (not just 1.0).
      (cherry picked from commit 9cf0f187)
      68039af3
    • Dr. Stephen Henson's avatar
      Extend DTLS method macros. · da1247d6
      Dr. Stephen Henson authored
      Extend DTLS method creation macros to support version numbers and encryption
      methods. Update existing code.
      (cherry picked from commit cfd298b7)
      da1247d6
    • Dr. Stephen Henson's avatar
      Enable various DTLS extensions. · 052d0358
      Dr. Stephen Henson authored
      Some TLS extensions were disabled for DTLS. Possibly because they caused
      problems with the old duplicated code. Enable them again.
      (cherry picked from commit 874a18cf)
      052d0358
    • Dr. Stephen Henson's avatar
      Use enc_flags when deciding protocol variations. · 1b6ab411
      Dr. Stephen Henson authored
      Use the enc_flags field to determine whether we should use explicit IV,
      signature algorithms or SHA256 default PRF instead of hard coding which
      versions support each requirement.
      (cherry picked from commit cbd64894)
      
      Conflicts:
      
      	ssl/ssl_locl.h
      1b6ab411
    • Dr. Stephen Henson's avatar
      Use appropriate versions of SSL3_ENC_METHOD · d88d98ed
      Dr. Stephen Henson authored
      (cherry picked from commit 6de2649a)
      d88d98ed
    • Dr. Stephen Henson's avatar
      DTLS revision. · 741c9959
      Dr. Stephen Henson authored
      Revise DTLS code. There was a *lot* of code duplication in the
      DTLS code that generates records. This makes it harder to maintain and
      sometimes a TLS update is omitted by accident from the DTLS code.
      
      Specifically almost all of the record generation functions have code like
      this:
      
      some_pointer = buffer + HANDSHAKE_HEADER_LENGTH;
      ... Record creation stuff ...
      set_handshake_header(ssl, SSL_MT_SOMETHING, message_len);
      
      ...
      
      write_handshake_message(ssl);
      
      Where the "Record creation stuff" is identical between SSL/TLS and DTLS or
      in some cases has very minor differences.
      
      By adding a few fields to SSL3_ENC to include the header length, some flags
      and function pointers for handshake header setting and handshake writing the
      code can cope with both cases.
      
      (cherry picked from commit 173e72e6)
      741c9959
    • Dr. Stephen Henson's avatar
      Add functions to set ECDSA_METHOD structure. · 7c23127f
      Dr. Stephen Henson authored
      Add various functions to allocate and set the fields of an ECDSA_METHOD
      structure.
      (cherry picked from commit 94c2f77a)
      7c23127f
  2. 17 Sep, 2013 2 commits
  3. 16 Sep, 2013 10 commits
  4. 15 Sep, 2013 2 commits
  5. 14 Sep, 2013 2 commits
  6. 10 Sep, 2013 1 commit
  7. 09 Sep, 2013 3 commits
  8. 08 Sep, 2013 2 commits
  9. 03 Sep, 2013 1 commit
  10. 21 Aug, 2013 1 commit
  11. 20 Aug, 2013 1 commit
  12. 19 Aug, 2013 8 commits