summaryrefslogtreecommitdiff
path: root/src/plop.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plop.erl')
-rw-r--r--src/plop.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plop.erl b/src/plop.erl
index a28f915..853e81a 100644
--- a/src/plop.erl
+++ b/src/plop.erl
@@ -468,3 +468,10 @@ add_test() ->
SPTeq1 = spt(S#state.logid, S#state.privkey, TE),
SPTeq2 = spt(S#state.logid, S#state.privkey, TE),
?assertNotEqual(SPTeq1, SPTeq2). % DSA signatures differ!
+
+add_more_test() ->
+ D = crypto:rand_bytes(3072),
+ lists:foreach(
+ fun(D) -> plop:add(#timestamped_entry
+ {entry = #plop_entry{type = test, data = D}}) end,
+ lists:seq(0, 200)).