summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2014-05-04 23:58:11 +0200
committerLinus Nordberg <linus@nordu.net>2014-05-04 23:58:11 +0200
commit9dc05f0ed8c31ade084712c87417328183c6a658 (patch)
tree1e48af3c72be8abf17ef5aaf1a1210b00cacd182 /include
parent525ec22812f3f56c7da6064be034a808eca4d43c (diff)
Rename spt_on_wire -> spt.
Diffstat (limited to 'include')
-rw-r--r--include/plop.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plop.hrl b/include/plop.hrl
index 8115374..17d81c8 100644
--- a/include/plop.hrl
+++ b/include/plop.hrl
@@ -16,13 +16,13 @@
}).
-type mtl() :: #mtl{}.
--record(spt_on_wire, {
+-record(spt, {
version :: pos_integer(), % uint8
logid :: binary(), % SHA-256 over DER encoded public log key
timestamp :: integer(), % uint64
signature :: binary()
}).
--type spt_on_wire() :: #spt_on_wire{}.
+-type spt() :: #spt{}.
%% @doc What's signed in an SPT. Used for serialisation before hasning
%% and signing. FIXME: Overlapping #spt{} -- merge somehow.