aboutsummaryrefslogtreecommitdiff
path: root/tests/python_dependencies/impacket
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2018-03-13 12:00:54 +0100
committerKamil Dudka <kdudka@redhat.com>2018-03-13 14:10:16 +0100
commit4a9f14d921d1f32831aa8956294db1a74a4dc459 (patch)
treeae104f4a2881626e08c24d6d80e3676e738bc568 /tests/python_dependencies/impacket
parentd974b39a9e2fd61cc9eb15250aaec0ed1f029edf (diff)
tests/.../spnego.py: fix identifier typo
Detected by Coverity Analysis: Error: IDENTIFIER_TYPO: curl-7.58.0/tests/python_dependencies/impacket/spnego.py:229: identifier_typo: Using "SuportedMech" appears to be a typo: * Identifier "SuportedMech" is only known to be referenced here, or in copies of this code. * Identifier "SupportedMech" is referenced elsewhere at least 4 times. curl-7.58.0/tests/python_dependencies/impacket/smbserver.py:2651: identifier_use: Example 1: Using identifier "SupportedMech". curl-7.58.0/tests/python_dependencies/impacket/smbserver.py:2308: identifier_use: Example 2: Using identifier "SupportedMech". curl-7.58.0/tests/python_dependencies/impacket/spnego.py:252: identifier_use: Example 3: Using identifier "SupportedMech" (2 total uses in this function). curl-7.58.0/tests/python_dependencies/impacket/spnego.py:229: remediation: Should identifier "SuportedMech" be replaced by "SupportedMech"? Closes #2379
Diffstat (limited to 'tests/python_dependencies/impacket')
-rw-r--r--tests/python_dependencies/impacket/spnego.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python_dependencies/impacket/spnego.py b/tests/python_dependencies/impacket/spnego.py
index f177d18f7..43e65fb5c 100644
--- a/tests/python_dependencies/impacket/spnego.py
+++ b/tests/python_dependencies/impacket/spnego.py
@@ -226,7 +226,7 @@ class SPNEGO_NegTokenResp:
raise Exception('OID tag not found %x' % next_byte)
decode_data2 = decode_data2[1:]
item, total_bytes2 = asn1decode(decode_data2)
- self['SuportedMech'] = item
+ self['SupportedMech'] = item
decode_data = decode_data[1:]
decode_data = decode_data[total_bytes:]