diff --git a/RNS/Cryptography/HKDF.py b/RNS/Cryptography/HKDF.py index 0491dda..5c964b2 100644 --- a/RNS/Cryptography/HKDF.py +++ b/RNS/Cryptography/HKDF.py @@ -39,9 +39,6 @@ def hkdf(length=None, derive_from=None, salt=None, context=None): if salt == None or len(salt) == 0: salt = bytes([0] * hash_len) - if salt == None: - salt = b"" - if context == None: context = b""