Merge pull request #230 from michaelweghorn/michaelweghorn/correct_hmac_stdlib_import
Correct hmac import from Python stdlib
This commit is contained in:
@@ -31,7 +31,7 @@ try:
|
||||
|
||||
except ImportError:
|
||||
# PyCrypto not available. Use the Python standard library.
|
||||
from hashlib import hmac as HMAC
|
||||
import hmac as HMAC
|
||||
|
||||
CYBERFLEX_IV = b'\x00' * 8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user