Skip to content

Commit 5a869ef

Browse files
committed
fwdm: use more generic TLS client version for ForwardMacine
AI-Assisted: no
1 parent 8e8c463 commit 5a869ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scapy/fwdmachine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def handler(self, sock, addr, dest):
341341
# Wrap both server and peer sockets in SSL
342342
if self.tls:
343343
# Build client SSL context
344-
clisslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
344+
clisslcontext = ssl.SSLContext(ssl.PROTOCOL_TLS)
345345
clisslcontext.load_default_certs()
346346
clisslcontext.check_hostname = False
347347
clisslcontext.verify_mode = ssl.CERT_NONE

0 commit comments

Comments
 (0)