From: Bob Halley Date: Fri, 19 Jun 2020 20:50:14 +0000 (-0700) Subject: Remove hmac_md5(), as it was added for backwards compatibility when we X-Git-Tag: v2.0.0rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9eca93c42192c52ed136bbcd425e54ba9d59fb9;p=thirdparty%2Fdnspython.git Remove hmac_md5(), as it was added for backwards compatibility when we switched to using sign() back in 2010. --- 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.