Merge branch 'master' of ssh://github.com/mrash/fwknop
This commit is contained in:
commit
bc1505934e
@ -883,7 +883,7 @@ class Fko:
|
||||
"""Returns the descriptive error message string for the
|
||||
given error code value.
|
||||
"""
|
||||
return _fko.errstr(code)
|
||||
return _fko.errstr(val)
|
||||
|
||||
# FKO type lookup functions.
|
||||
|
||||
@ -1009,8 +1009,8 @@ class Fko:
|
||||
dts = "ECB"
|
||||
elif val == FKO_ENC_MODE_CBC:
|
||||
dts = "CBC"
|
||||
elif val == FKO_ENC_MODE_CBF:
|
||||
dts = "CBF"
|
||||
elif val == FKO_ENC_MODE_CFB:
|
||||
dts = "CFB"
|
||||
elif val == FKO_ENC_MODE_PCBC:
|
||||
dts = "PCBC"
|
||||
elif val == FKO_ENC_MODE_OFB:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user