diff -Nru openvpn-blacklist-0.3/debian/changelog openvpn-blacklist-0.3ubuntu1/debian/changelog --- openvpn-blacklist-0.3/debian/changelog 2008-05-21 15:53:47.000000000 +0200 +++ openvpn-blacklist-0.3ubuntu1/debian/changelog 2009-06-08 15:30:01.000000000 +0200 @@ -1,3 +1,10 @@ +openvpn-blacklist (0.3ubuntu1) karmic; urgency=low + + * openvpn-vulnkey: Use hashlib python module (instead of md5 module) to + avoid a DeprecationWarning (LP: #352170) + + -- Thierry Carrez Mon, 08 Jun 2009 15:29:11 +0200 + openvpn-blacklist (0.3) unstable; urgency=low * Initial Debian release (kept prior changelog for clarity). diff -Nru openvpn-blacklist-0.3/openvpn-vulnkey openvpn-blacklist-0.3ubuntu1/openvpn-vulnkey --- openvpn-blacklist-0.3/openvpn-vulnkey 2008-05-13 05:02:20.000000000 +0200 +++ openvpn-blacklist-0.3ubuntu1/openvpn-vulnkey 2009-06-08 15:29:04.000000000 +0200 @@ -19,7 +19,7 @@ # from optparse import OptionParser -import md5 +import hashlib import re import sys @@ -65,7 +65,7 @@ keyfile += line fh.close() - key = md5.new(keyfile).hexdigest() + key = hashlib.md5.new(keyfile).hexdigest() if key[12:] in db_lines: if not options.quiet: print "COMPROMISED: %s %s" % (key, f)