Skip to content

Commit

Permalink
Added NewSessionTicket to HANDSHAKE_TYPES (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
XorJoep authored and obormot committed Mar 22, 2019
1 parent 60954a1 commit 4c4749a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dpkt/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def unpack(self, buf):
class TLSUnknownHandshake(dpkt.Packet):
__hdr__ = tuple()


TLSNewSessionTicket = TLSUnknownHandshake
TLSServerKeyExchange = TLSUnknownHandshake
TLSCertificateRequest = TLSUnknownHandshake
TLSServerHelloDone = TLSUnknownHandshake
Expand All @@ -359,6 +359,7 @@ class TLSUnknownHandshake(dpkt.Packet):
0: ('HelloRequest', TLSHelloRequest),
1: ('ClientHello', TLSClientHello),
2: ('ServerHello', TLSServerHello),
4: ('NewSessionTicket', TLSNewSessionTicket),
11: ('Certificate', TLSCertificate),
12: ('ServerKeyExchange', TLSServerKeyExchange),
13: ('CertificateRequest', TLSCertificateRequest),
Expand Down

0 comments on commit 4c4749a

Please sign in to comment.