From d9bd71463fc2d47503c3300b3a207a7b8124d8b6 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 21 Jul 2015 14:05:44 +0000 Subject: Start catching up on six months worth of little changes in RRDP. svn path=/branches/tk705/; revision=6081 --- potpourri/rrdp-test-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'potpourri/rrdp-test-tool') diff --git a/potpourri/rrdp-test-tool b/potpourri/rrdp-test-tool index 8ea90f17..ccf17960 100755 --- a/potpourri/rrdp-test-tool +++ b/potpourri/rrdp-test-tool @@ -90,7 +90,7 @@ class main(object): def del_obj(self, uri, hash): fn = self.uri_to_filename(uri) with open(fn, "rb") as f: - if hash != rpki.x509.sha256(f.read()).encode("hex"): + if hash.lower() != rpki.x509.sha256(f.read()).encode("hex"): raise RuntimeError("Hash mismatch for URI %s" % uri) os.unlink(fn) dn = os.path.dirname(fn) -- cgit v1.2.3