diff options
| author | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-30 13:28:50 +0200 |
|---|---|---|
| committer | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-30 13:28:50 +0200 |
| commit | c188640f84f33e45c05d0aecc678adf9e753e722 (patch) | |
| tree | 49a0cb114bad798680376c76b49be08cb6dd4bcf /monitor/josef_monitor.py | |
| parent | beaf6e3b91ebfc3a7134398c1607a679434859f7 (diff) | |
refactor
Diffstat (limited to 'monitor/josef_monitor.py')
| -rwxr-xr-x | monitor/josef_monitor.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/monitor/josef_monitor.py b/monitor/josef_monitor.py index d5e4254..c46355d 100755 --- a/monitor/josef_monitor.py +++ b/monitor/josef_monitor.py @@ -265,17 +265,6 @@ class ctlog: print ERROR_STR + "Could not verify consistency for " + self.url -def verify_subtree(sth, subtree, base_url): - try: - tmp = deepcopy(subtree) - root = base64.b64encode(reduce_subtree_to_root(tmp)[0]) - - if root == sth["sha256_root_hash"]: - return True - else: - return False - except: - return False def check_domain(raw_entry, log=None): orig_entry = extract_original_entry(raw_entry) |
