diff options
| author | Bob Halley <halley@dnspython.org> | 2016-05-12 14:19:35 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2016-05-12 14:19:35 -0700 |
| commit | 9f0f20ddea618563b55cf60591cbdbd00c62deb4 (patch) | |
| tree | 25f9e20835e4fe128949b4ba5146efc1a502d75b /dns/tsig.py | |
| parent | 5c1a60f269db2ed7356314079253ca06ada758f7 (diff) | |
| download | dnspython-9f0f20ddea618563b55cf60591cbdbd00c62deb4.tar.gz | |
Try again to fix TSIG hashes
Diffstat (limited to 'dns/tsig.py')
| -rw-r--r-- | dns/tsig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/tsig.py b/dns/tsig.py index 931d27d..92ce860 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") |
