Skip to content

Commit 2a01e61

Browse files
authored
kerberos: minor wording changes (#5292)
1 parent b961379 commit 2a01e61

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎scapy/layers/kerberos.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6084,7 +6084,7 @@ def GSS_Accept_sec_context(
60846084
)
60856085
return Context, err, gssErrorCode
60866086

6087-
# Cache authenticators to avoid replay
6087+
# Store the time for future detections
60886088
self.ReplayCache[replay_key] = ctime + KRB_MaxClockSkew
60896089

60906090
# We take that opportunity to cleanup any expired items

‎test/scapy/layers/kerberos.uts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ assert passiveState == GSS_S_COMPLETE
19151915
assert passiveContext.passive
19161916
assert passiveContext.ssp_context.passive
19171917

1918-
= GSS_Accept_sec_context rejects a replayed AP-REQ without the replay flag
1918+
= GSS_Accept_sec_context rejects a replayed AP-REQ
19191919

19201920
from scapy.layers.gssapi import GSS_S_DUPLICATE_TOKEN
19211921

0 commit comments

Comments
 (0)