]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Remove hmac_md5(), as it was added for backwards compatibility when we
authorBob Halley <halley@dnspython.org>
Fri, 19 Jun 2020 20:50:14 +0000 (13:50 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 19 Jun 2020 20:50:14 +0000 (13:50 -0700)
switched to using sign() back in 2010.

dns/tsig.py

index dade52aab9ed5f55e1580f2a8b34df707cea4c6e..5744f1a32bbae6e7fb2d75cf87418dd3cb4a47e4 100644 (file)
@@ -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.