diff options
author | Linus Nordberg <linus@nordu.net> | 2015-08-19 16:05:29 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-08-19 16:05:29 +0200 |
commit | 83472c419a90deb33d21d2e69632e421f094318f (patch) | |
tree | fc4b2a36acc8fbc575d6a7759df795f2aed23d3b | |
parent | a9477afb3623c4d09ad080e5a0c31dde27518a8d (diff) |
Don't cons an improper list when serialising extra data for a precert.
-rw-r--r-- | src/catlfish.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catlfish.erl b/src/catlfish.erl index ffa2ec5..d940147 100644 --- a/src/catlfish.erl +++ b/src/catlfish.erl @@ -224,7 +224,7 @@ serialise_extra_data(Type, Cert, Chain) -> EncodedChain; precert -> list_to_binary( - [encode_tls_vector(Cert, 3) | EncodedChain]) + [encode_tls_vector(Cert, 3), EncodedChain]) end. -spec entries(non_neg_integer(), non_neg_integer()) -> {[{entries, list()},...]}. |