1. 19 3月, 2013 2 次提交
  2. 18 3月, 2013 6 次提交
    • D
      Use enc_flags when deciding protocol variations. · cbd64894
      Dr. Stephen Henson 提交于
      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.
      cbd64894
    • D
      Use appropriate versions of SSL3_ENC_METHOD · 6de2649a
      Dr. Stephen Henson 提交于
      6de2649a
    • D
      DTLS revision. · 173e72e6
      Dr. Stephen Henson 提交于
      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.
      
      Note: although this passes "make test" and some simple DTLS tests there may
      be some minor differences in the DTLS code that have to be accounted for.
      173e72e6
    • M
      Avoid unnecessary fragmentation. · 80ccc66d
      Michael Tuexen 提交于
      80ccc66d
    • D
      Encode INTEGER correctly. · 5de18d5d
      Dr. Stephen Henson 提交于
      If an ASN1_INTEGER structure is allocated but not explicitly set encode
      it as zero: don't generate an invalid zero length INTEGER.
      (cherry picked from commit 1643edc63c3e15b6db5a15a728bc288f2cc2bbc7)
      5de18d5d
    • D
      Typo. · e24fd37c
      Dr. Stephen Henson 提交于
      (cherry picked from commit 1546fb780bc11556a18d70c5fb29af4a9d5beaff)
      e24fd37c
  3. 11 3月, 2013 1 次提交
    • D
      DTLS trace support. · 890f2f8b
      Dr. Stephen Henson 提交于
      Add DTLS record header parsing, different client hello format and add
      HelloVerifyRequest message type.
      
      Add code to d1_pkt.c to send message headers to the message callback.
      890f2f8b
  4. 07 3月, 2013 3 次提交
  5. 06 3月, 2013 3 次提交
  6. 05 3月, 2013 9 次提交
  7. 04 3月, 2013 15 次提交
  8. 02 3月, 2013 1 次提交