mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:13:32 +03:00
impacket: some more Python 3 code compatibility updates
This makes smbserver load on Python 3, but still not work completely.
This commit is contained in:
parent
ba0e6fbd30
commit
a7e24c7362
3 changed files with 18 additions and 13 deletions
|
|
@ -31,7 +31,7 @@ MechTypes = {
|
|||
'*\x86H\x86\xf7\x12\x01\x02\x02': 'KRB5 - Kerberos 5',
|
||||
'*\x86H\x86\xf7\x12\x01\x02\x02\x03': 'KRB5 - Kerberos 5 - User to User'
|
||||
}
|
||||
TypesMech = dict((v,k) for k, v in MechTypes.iteritems())
|
||||
TypesMech = dict((v,k) for k, v in MechTypes.items())
|
||||
|
||||
def asn1encode(data = ''):
|
||||
#res = asn1.SEQUENCE(str).encode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue