From 47e16395eeb7c1825d507a31df9bc89f9b24c10d Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Thu, 19 Mar 2015 10:57:11 +0100 Subject: Fix signature calculation in test --- tools/testcase1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.1