remove outdated comment

This commit is contained in:
Benjamin Peterson 2010-08-21 02:41:33 +00:00
parent c44abb127b
commit c3f810fb56
1 changed files with 0 additions and 5 deletions

View File

@ -58,8 +58,6 @@ class HMAC:
if hasattr(self.inner, 'block_size'):
blocksize = self.inner.block_size
if blocksize < 16:
# Very low blocksize, most likely a legacy value like
# Lib/sha.py and Lib/md5.py have.
_warnings.warn('block_size of %d seems too small; using our '
'default of %d.' % (blocksize, self.blocksize),
RuntimeWarning, 2)
@ -79,9 +77,6 @@ class HMAC:
if msg is not None:
self.update(msg)
## def clear(self):
## raise NotImplementedError, "clear() method not available in HMAC."
def update(self, msg):
"""Update this hashing object with the string msg.
"""