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

* src/lsh-decode-key.c (do_decode_key): Use publickey-related

functions and methods.
* src/lsh.c (do_lsh_lookup): Likewise.

Rev: src/lsh.c:1.119
parent 8af6284b
......@@ -387,15 +387,15 @@ do_lsh_lookup(struct lookup_verifier *c,
{
case ATOM_SSH_DSS:
{
struct dsa_verifier *v = make_ssh_dss_verifier(key->length, key->data);
struct verifier *v = make_ssh_dss_verifier(key->length, key->data);
if (!v)
{
werror("do_lsh_lookup: Invalid ssh-dss key.\n");
return NULL;
}
subject = SPKI_LOOKUP(self->db,
dsa_to_spki_public_key(&v->public),
&v->super);
spki_make_public_key(v),
v);
assert(subject);
assert(subject->verifier);
break;
......
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