Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scapy/layers/tls/handshake.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
)

from scapy.compat import hex_bytes, orb, raw
from scapy.config import conf
from scapy.config import conf, crypto_validator
from scapy.packet import Packet, Raw, Padding
from scapy.utils import randstring, repr_hex
from scapy.layers.x509 import OCSP_Response
Expand Down Expand Up @@ -716,6 +716,7 @@ def build(self):
self.sid = self.tls_session.sid
return _TLSHandshake.build(self)

@crypto_validator
def tls_session_update(self, msg_str):
s = self.tls_session
s.tls13_retry = True
Expand Down