diff options
author | Linus Nordberg <linus@nordu.net> | 2015-09-27 11:40:47 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-09-27 13:38:30 +0200 |
commit | 9af4cf37dc1b30b25d04689c37dadce9e3a2a8bc (patch) | |
tree | b0ca85139a5b9e9dc1e3d7179608212a5a5c00b4 /tools/fetchallcerts.py | |
parent | 2f0d0c63e2a935835779347b97ce79925347949b (diff) |
make tests work(s)gaol3
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: |