From 4a1f64e15d62d0c6d0e53878dce15c2e28586eb5 Mon Sep 17 00:00:00 2001 From: I-Ju Lin <9304486+lin826@users.noreply.github.com> Date: Sat, 1 Apr 2023 14:20:10 -0400 Subject: [PATCH] Add indent in the document of session.py --- scapy/layers/tls/session.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scapy/layers/tls/session.py b/scapy/layers/tls/session.py index 887a024a078..36d2bc3c3d2 100644 --- a/scapy/layers/tls/session.py +++ b/scapy/layers/tls/session.py @@ -544,13 +544,13 @@ def mirror(self): read right before, as the reading state becomes the writing state, and vice versa. For instance you could do: - client_hello = open('client_hello.raw').read() - + client_hello = open('client_hello.raw').read() + - m1 = TLS(client_hello) - m2 = TLS(server_hello, tls_session=m1.tls_session.mirror()) - m3 = TLS(server_cert, tls_session=m2.tls_session) - m4 = TLS(client_keyexchange, tls_session=m3.tls_session.mirror()) + m1 = TLS(client_hello) + m2 = TLS(server_hello, tls_session=m1.tls_session.mirror()) + m3 = TLS(server_cert, tls_session=m2.tls_session) + m4 = TLS(client_keyexchange, tls_session=m3.tls_session.mirror()) """ self.ipdst, self.ipsrc = self.ipsrc, self.ipdst