diff --git a/lib/Crypto/Math/_IntegerBase.py b/lib/Crypto/Math/_IntegerBase.py index 931743aa1..da1f9054e 100644 --- a/lib/Crypto/Math/_IntegerBase.py +++ b/lib/Crypto/Math/_IntegerBase.py @@ -409,4 +409,3 @@ def _mult_modulo_bytes(term1, term2, modulus): It is as long as the modulus would be, with zero padding on the left if needed. """ - pass diff --git a/lib/Crypto/Random/__init__.py b/lib/Crypto/Random/__init__.py index 0f83a07e3..521820d18 100644 --- a/lib/Crypto/Random/__init__.py +++ b/lib/Crypto/Random/__init__.py @@ -32,15 +32,12 @@ def read(self, n): def flush(self): """Method provided for backward compatibility only.""" - pass def reinit(self): """Method provided for backward compatibility only.""" - pass def close(self): """Method provided for backward compatibility only.""" - pass def new(*args, **kwargs): diff --git a/lib/Crypto/Signature/pkcs1_15.py b/lib/Crypto/Signature/pkcs1_15.py index 0b02d998e..a8f64375d 100644 --- a/lib/Crypto/Signature/pkcs1_15.py +++ b/lib/Crypto/Signature/pkcs1_15.py @@ -136,7 +136,6 @@ def verify(self, msg_hash, signature): # if em1 not in possible_em1: raise ValueError("Invalid signature") - pass def _EMSA_PKCS1_V1_5_ENCODE(msg_hash, emLen, with_hash_parameters=True):