Skip to content
GitLab
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
6010fa64
Commit
6010fa64
authored
Oct 03, 2001
by
Niels Möller
Browse files
(spki_signer2verifier): Deleted command.
(spki_verifier2public): Deleted command. Rev: src/spki_commands.c:1.29
parent
605b6bbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/spki_commands.c
View file @
6010fa64
...
...
@@ -61,32 +61,9 @@ struct command spki_add_userkey_command;
EXCEPTION_RAISE((e), make_spki_exception(EXC_SPKI_TYPE, (msg), (expr)))
/* Various conversion functions */
DEFINE_COMMAND
(
spki_signer2verifier
)
(
struct
command
*
s
UNUSED
,
struct
lsh_object
*
a
,
struct
command_continuation
*
c
,
struct
exception_handler
*
e
UNUSED
)
{
CAST_SUBTYPE
(
signer
,
private
,
a
);
COMMAND_RETURN
(
c
,
SIGNER_GET_VERIFIER
(
private
));
}
DEFINE_COMMAND
(
spki_verifier2public
)
(
struct
command
*
s
UNUSED
,
struct
lsh_object
*
a
,
struct
command_continuation
*
c
,
struct
exception_handler
*
e
UNUSED
)
{
CAST_SUBTYPE
(
verifier
,
v
,
a
);
COMMAND_RETURN
(
c
,
spki_make_public_key
(
v
));
}
/* Reading keys */
/* FIXME: Ued only by sexp2keypair, move code there? */
/* FIXME: U
s
ed only by sexp2keypair, move code there? */
static
void
parse_private_key
(
struct
alist
*
algorithms
,
struct
sexp_iterator
*
i
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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