Commit ca7dded1 authored by Niels Möller's avatar Niels Möller

* src/testsuite/macros.m4(TS_TEST_VERIFY): Use make_bad_random().

Use SIGNER_GET_PUBLIC().

Rev: src/testsuite/macros.m4:1.9
parent 466e4dcc
......@@ -115,7 +115,7 @@ m4_dnl TS_TEST_SIGN(name, key, msg [, signature])
TS_DEFINE(TS_TEST_SIGN,
{
struct alist *algorithms = all_signature_algorithms(make_reasonably_random());
struct alist *algorithms = all_signature_algorithms(make_bad_random());
struct sexp *key = TS_SEXP($2);
struct lsh_string *msg = TS_STRING($3);
struct sexp *sign;
......@@ -137,7 +137,7 @@ TS_DEFINE(
TS_FAIL
}
)
v = spki_make_verifier(algorithms, SIGNER_PUBLIC(s));
v = SIGNER_GET_VERIFIER(s);
if (!v)
/* Can't create verifier */
TS_FAIL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment