gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 148/150: tests/.../spnego.py: fix identifier typo


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 148/150: tests/.../spnego.py: fix identifier typo
Date: Fri, 30 Mar 2018 16:50:02 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 4a9f14d921d1f32831aa8956294db1a74a4dc459
Author: Kamil Dudka <address@hidden>
AuthorDate: Tue Mar 13 12:00:54 2018 +0100

    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
---
 tests/python_dependencies/impacket/spnego.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:]

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]