summaryrefslogtreecommitdiff
path: root/tools/certtools.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2015-09-27 11:40:47 +0200
committerLinus Nordberg <linus@nordu.net>2015-11-20 10:14:15 +0100
commitc308b5eee38c58e122f6eebcca575ed6734bb3b7 (patch)
tree114974089bcf05de29d5d30141bcab9fa2ba834a /tools/certtools.py
parentb87783cc3dc39d5b2aa1c170cf5afaefc289c85a (diff)
make tests work(s)
Diffstat (limited to 'tools/certtools.py')
-rw-r--r--tools/certtools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/certtools.py b/tools/certtools.py
index 6cb4f55..2165781 100644
--- a/tools/certtools.py
+++ b/tools/certtools.py
@@ -179,7 +179,7 @@ def unpack_tls_array(packed_data, length_len):
def add_chain(baseurl, submission):
try:
- result = urlopen(baseurl + "ct/v1/add-chain", json.dumps(submission)).read()
+ result = urlopen(baseurl + "ct/v1/add-blob", json.dumps(submission)).read()
return json.loads(result)
except urllib2.HTTPError, e:
print "ERROR", e.code,":", e.read()