1# Tests generated partially with openssl 1.0.2g 2# ServerHello message contains many fields, the following fields are checked: 3# - Protocol Version 4# - Cipher suite 5# - Extensions 6 7[server_hello] 8# correct, with session ticket and renegotiation info 9Buffer = 0303ffea0bcfba564a4ce177c6a444b0ebdff5629b277293c618c1125f231e8628dd00c030000016ff01000100000b00040300010200230000000f000101 10Protocol = 0303 11Ciphersuite = C030 12AdditionalData = 000B000F0023FF01 13Exception = 14 15# correct, with session ticket, extended master secret, and renegotiation info 16Buffer = 03019f9cafa88664d9095f85dd64a39e5dd5c09f5a4a5362938af3718ee4e818af6a00c03000001aff01000100000b00040300010200230000000f00010100170000 17Protocol = 0301 18Ciphersuite = C030 19AdditionalData = 000B000F00170023FF01 20Exception = 21 22# incorrect, corrupted 23Buffer = 24Protocol = 0303 25Ciphersuite = C030 26AdditionalData = 27Exception = Server_Hello: Packet corrupted 28 29# incorrect, corrupted 30Buffer = 00 31Protocol = 0303 32Ciphersuite = C030 33AdditionalData = 34Exception = Server_Hello: Packet corrupted 35 36# invalid extensions length 37Buffer = 03039f9cafa88664d9095f85dd64a39e5dd5c09f5a4a5362938af3718ee4e818af6a00c03000001cff01000100000b00040300010200230000000f00010100170000 38Protocol = 0303 39Ciphersuite = C030 40AdditionalData = 00170023FF01 41Exception = Bad extension size 42 43# invalid extension length 44Buffer = 03039f9cafa88664d9095f85dd64a39e5dd5c09f5a4a5362938af3718ee4e818af6a00c03000001aff01000100000b00040300010200230100000f00010100170000 45Protocol = 0303 46Ciphersuite = C030 47AdditionalData = 00170023FF01 48Exception = Invalid ServerHello: Expected 256 bytes remaining, only 9 left 49