diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plop.erl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/plop.erl b/src/plop.erl index 853e81a..008d15d 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -469,9 +469,11 @@ add_test() -> 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)). + +%% add_random_data(N, Size) -> +%% lists:foreach( +%% fun(_) -> plop:add(#timestamped_entry +%% {entry = #plop_entry +%% {type = test, +%% data = crypto:rand_bytes(Size)}}) end, +%% lists:seq(0, N)). |