From 11fc428f6eb52936bdbde1be5a6cd4e56704bc68 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 1 Mar 2017 09:37:30 +0100 Subject: Rename some variable and function names; add a NEWS entry. --- src/storage.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/storage.erl') diff --git a/src/storage.erl b/src/storage.erl index 489bf91..c64d918 100644 --- a/src/storage.erl +++ b/src/storage.erl @@ -19,7 +19,7 @@ request(post, ?APPURL_PLOP_STORAGE, "sendentry", Input) -> ok = db:add_entry_sync(TreeLeafHash, LogEntry), ok = storagedb:add(TreeLeafHash), - {KeyName, Sig} = http_auth:sign_stored(plop:spt_from_entry(LogEntry)), + {KeyName, Sig} = http_auth:sign_stored(plop:spt_data_from_entry(LogEntry)), success({[{result, <<"ok">>}, {"sig", KeyName ++ ":" ++ base64:encode_to_string(Sig)} ]}) -- cgit v1.1