diff options
author | Rob Austein <sra@hactrn.net> | 2015-07-21 14:05:44 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-07-21 14:05:44 +0000 |
commit | d9bd71463fc2d47503c3300b3a207a7b8124d8b6 (patch) | |
tree | 9031d4234c008fbc5ff51fe8f3d4ac4f3b57b623 /potpourri/rrdp-test-tool | |
parent | 6730c76fbf4c698ff5cdc730df424701113ef165 (diff) |
Start catching up on six months worth of little changes in RRDP.
svn path=/branches/tk705/; revision=6081
Diffstat (limited to 'potpourri/rrdp-test-tool')
-rwxr-xr-x | potpourri/rrdp-test-tool | 2 |
1 files changed, 1 insertions, 1 deletions
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) |