Commit 69a1c4b9 authored by Niels Möller's avatar Niels Möller
Browse files

* src/dsa.c (do_dsa_verify, make_ssh_dss_verifier): Use enum

* src/rsa.c (do_rsa_verify, make_ssh_rsa_verifier): Likewise.
* src/lsh-decode-key.c (lsh_decode_key): Likewise.
* src/lshd-userauth.c (get_verifier, handle_publickey)
(handle_userauth): Likewise.
* src/spki.c (spki_algorithm_lookup): Likewise.

Rev: src/spki.c:
parent 7201d2e3
......@@ -111,7 +111,7 @@ spki_algorithm_lookup(struct alist *algorithms,
int *type)
struct lsh_object *res;
int algorithm_name = lsh_sexp_get_type(i);
enum lsh_atom algorithm_name = lsh_sexp_get_type(i);
/* FIXME: Display a pretty message if lookup fails. */
res = ALIST_GET(algorithms, algorithm_name);
Supports Markdown
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