From 9f0f20ddea618563b55cf60591cbdbd00c62deb4 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Thu, 12 May 2016 14:19:35 -0700 Subject: [PATCH] Try again to fix TSIG hashes --- dns/tsig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/tsig.py b/dns/tsig.py index 931d27d0..92ce8603 100644 --- a/dns/tsig.py +++ b/dns/tsig.py @@ -210,7 +210,7 @@ def get_algorithm(algorithm): algorithm = dns.name.from_text(algorithm) try: - return (algorithm.to_digestable(), _hashes[algorithm]) + return (algorithm.to_digestable(), dns.hash.hashes[_hashes[algorithm]]) except KeyError: raise NotImplementedError("TSIG algorithm " + str(algorithm) + " is not supported") -- 2.47.3