2010-10-17 Bob Halley <halley@dnspython.org>
- * dns/dnssec.py: Added key_id() and make_ds().
+ * dns/tsig.py (get_algorithm): fix hashlib compatibility; thanks to
+ Kevin Chen for the patch.
-2010-10-17 Bob Halley <halley@dnspython.org>
+ * dns/dnssec.py: Added key_id() and make_ds().
* dns/message.py: message.py needs to import dns.edns since it uses
it.
except ImportError:
import md5, sha
- hashes[dns.name.from_text('HMAC-MD5.SIG-ALG.REG.INT')] = md5.md5
- hashes[dns.name.from_text('hmac-sha1')] = sha.sha
+ hashes[dns.name.from_text('HMAC-MD5.SIG-ALG.REG.INT')] = md5
+ hashes[dns.name.from_text('hmac-sha1')] = sha
if isinstance(algorithm, (str, unicode)):
algorithm = dns.name.from_text(algorithm)