summaryrefslogtreecommitdiff
path: root/monitor/josef_monitor.py
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/josef_monitor.py')
-rwxr-xr-xmonitor/josef_monitor.py11
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)