diff options
author | Linus Nordberg <linus@nordu.net> | 2015-09-27 11:40:47 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-09-27 11:40:47 +0200 |
commit | fd7ee9855de7173d9e357c766464071212814813 (patch) | |
tree | 9e10634e5843fafcf443d89b168217d7a2c9ead0 /tools/fetchallcerts.py | |
parent | 8aa6bdd6da5576ec0329feed282441dfdc6d9fb1 (diff) |
make tests work(s)gaol2
Diffstat (limited to 'tools/fetchallcerts.py')
-rwxr-xr-x | tools/fetchallcerts.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/fetchallcerts.py b/tools/fetchallcerts.py index 66fde74..169764f 100755 --- a/tools/fetchallcerts.py +++ b/tools/fetchallcerts.py @@ -129,16 +129,10 @@ else: leaf_input = base64.decodestring(entry["leaf_input"]) leaf_hash = get_leaf_hash(leaf_input) s += "Leafhash: %s\n" % base64.b16encode(leaf_hash) - if issuer_key_hash: - s += "-----BEGIN PRECERTIFICATE-----\n" - s += base64.encodestring(chain[0]).rstrip() + "\n" - s += "-----END PRECERTIFICATE-----\n" - s += "\n" - chain = chain[1:] for cert in chain: - s += "-----BEGIN CERTIFICATE-----\n" + s += "-----BEGIN BLOB-----\n" s += base64.encodestring(cert).rstrip() + "\n" - s += "-----END CERTIFICATE-----\n" + s += "-----END BLOB-----\n" s += "\n" zf.writestr("%08d" % i, s) except AssertionError, e: |