Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
ca7dded1
Commit
ca7dded1
authored
Nov 14, 2000
by
Niels Möller
Browse files
* src/testsuite/macros.m4(TS_TEST_VERIFY): Use make_bad_random().
Use SIGNER_GET_PUBLIC(). Rev: src/testsuite/macros.m4:1.9
parent
466e4dcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/testsuite/macros.m4
View file @
ca7dded1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment