Commit 3f9a2603 authored by Niels Möller's avatar Niels Möller
Browse files

* src/spki_commands.c (make_spki_read_userkeys): Use separate

alists for symmetric algorithms and signature algorithms (reported
by jps).

Rev: src/spki_commands.c:1.16
parent 07a5e742
...@@ -493,6 +493,7 @@ DEFINE_COMMAND_SIMPLE(spki_return_userkeys, a) ...@@ -493,6 +493,7 @@ DEFINE_COMMAND_SIMPLE(spki_return_userkeys, a)
struct command * struct command *
make_spki_read_userkeys(struct alist *algorithms, make_spki_read_userkeys(struct alist *algorithms,
struct alist *signature_algorithms,
struct interact *tty) struct interact *tty)
{ {
struct command *decrypt; struct command *decrypt;
...@@ -515,7 +516,7 @@ make_spki_read_userkeys(struct alist *algorithms, ...@@ -515,7 +516,7 @@ make_spki_read_userkeys(struct alist *algorithms,
{ {
CAST_SUBTYPE(command, res, CAST_SUBTYPE(command, res,
spki_read_userkeys(algorithms, spki_read_userkeys(signature_algorithms,
decrypt)); decrypt));
return res; return res;
......
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