summaryrefslogtreecommitdiff
path: root/src/catlfish.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2015-08-19 16:05:29 +0200
committerLinus Nordberg <linus@nordu.net>2015-08-19 16:05:29 +0200
commit83472c419a90deb33d21d2e69632e421f094318f (patch)
treefc4b2a36acc8fbc575d6a7759df795f2aed23d3b /src/catlfish.erl
parenta9477afb3623c4d09ad080e5a0c31dde27518a8d (diff)
Don't cons an improper list when serialising extra data for a precert.
Diffstat (limited to 'src/catlfish.erl')
-rw-r--r--src/catlfish.erl2
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()},...]}.