summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testcase1.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testcase1.py b/tools/testcase1.py
index 73613fb..dc62d17 100755
--- a/tools/testcase1.py
+++ b/tools/testcase1.py
@@ -70,7 +70,8 @@ def do_add_chain(chain):
except ValueError, e:
print_error("%s", e)
try:
- check_sct_signature(baseurl, chain[0], result)
+ signed_entry = pack_cert(chain[0])
+ check_sct_signature(baseurl, signed_entry, result)
except AssertionError, e:
print_error("%s", e)
except ecdsa.keys.BadSignatureError, e: