From 59e9f6b3af3d421834cd1c5411ea0eae3a83a7dd Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 25 Apr 2014 17:38:15 +0200 Subject: Initialise plop_entry properly. --- src/plop.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plop.erl') diff --git a/src/plop.erl b/src/plop.erl index 0565a29..13bad30 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -135,7 +135,7 @@ public_key(#'RSAPrivateKey'{modulus = Mod, publicExponent = Exp}) -> %%%%%%%%%%%%%%%%%%%% %% Tests. serialise_test_() -> - Entry = #plop_entry{type = ?PLOP_ENTRY_TYPE_X509, entry = "foo"}, + Entry = #plop_entry{type = ?PLOP_ENTRY_TYPE_X509, entry = <<"foo">>}, Entry_serialised = <<0:16, "foo">>, [?_assertEqual(Entry_serialised, list_to_binary(serialise(Entry))), ?_assertEqual(<<1:8, 0:8, 0:64, Entry_serialised/binary>>, -- cgit v1.1