We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c211285 commit e73137eCopy full SHA for e73137e
scapy/layers/tls/keyexchange.py
@@ -170,7 +170,7 @@ class _TLSSignature(_GenericTLSSessionInheritance):
170
171
def __init__(self, *args, **kargs):
172
super(_TLSSignature, self).__init__(*args, **kargs)
173
- if "sig_alg" not in kargs:
+ if self.sig_alg is None and "sig_alg" not in kargs:
174
# Default sig_alg
175
self.sig_alg = 0x0804
176
if self.tls_session and self.tls_session.tls_version:
0 commit comments