From a9eca93c42192c52ed136bbcd425e54ba9d59fb9 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 19 Jun 2020 13:50:14 -0700 Subject: [PATCH] Remove hmac_md5(), as it was added for backwards compatibility when we switched to using sign() back in 2010. --- dns/tsig.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dns/tsig.py b/dns/tsig.py index dade52aa..5744f1a3 100644 --- a/dns/tsig.py +++ b/dns/tsig.py @@ -138,13 +138,6 @@ def sign(wire, keyname, secret, time, fudge, original_id, error, return (tsig_rdata, mac, ctx) -def hmac_md5(wire, keyname, secret, time, fudge, original_id, error, - other_data, request_mac, ctx=None, multi=False, first=True, - algorithm=default_algorithm): - return sign(wire, keyname, secret, time, fudge, original_id, error, - other_data, request_mac, ctx, multi, first, algorithm) - - def validate(wire, keyname, secret, now, request_mac, tsig_start, tsig_rdata, tsig_rdlen, ctx=None, multi=False, first=True): """Validate the specified TSIG rdata against the other input parameters. -- 2.47.3