Opened 15 years ago

Closed 15 years ago

#31 closed editorial (fixed)

Unify ClientHello/ServerHello with/without extensions

Reported by: pasi.eronen@… Owned by:
Priority: minor Milestone: milestone1
Component: draft-ietf-tls-rfc4346-bis Version: 02
Severity: Keywords:
Cc:

Description

Current version describes two different structures for hello messages, one without extensions and one with. They could be unified:

struct {
    ProtocolVersion client_version;
    Random random;
    SessionID session_id;
    CipherSuite cipher_suites<2..2^16-1>;
    CompressionMethod compression_methods<1..2^8-1>;
    select (extensions_present) {
        case false: 
            struct {};
        case true:         
            Extension extensions<0..2^16-1>;
    }
} ClientHello;

struct {
    ProtocolVersion server_version;
    Random random;
    SessionID session_id;
    CipherSuite cipher_suite;
    CompressionMethod compression_method;
    select (extensions_present) {
        case false: 
            struct {};
        case true:         
            Extension extensions<0..2^16-1>;
    }
} ServerHello;

Change History (2)

comment:1 Changed 15 years ago by pasi.eronen@…

  • Milestone set to milestone1

comment:2 Changed 15 years ago by ekr@…

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.