Commit 8d65a829 authored by Niels Möller's avatar Niels Möller
Browse files

Trivial bug fixes.

Rev: src/alist.h:1.2
Rev: src/client_keyexchange.h:1.3
parent c20095b2
......@@ -28,10 +28,10 @@
/* Abstract interface allows for multiple implementations ("real"
* alists, linear tables, hash tables */
strust alist
struct alist
{
void * (*get)(struct alist *self, int atom);
void (*set)(struct alist self, int atom, void * value);
void (*set)(struct alist *self, int atom, void *value);
};
#define ALIST_GET(alist, atom) ((alist)->get((alist), (atom)))
......
......@@ -41,10 +41,10 @@ struct lookup_verifier
#define LOOKUP_VERIFIER(l, key) ((l)->lookup((l), (key)))
struct dh_algorithm_client
struct dh_client_exchange
{
struct keyexchange_algorithm super;
struct diffie_hellman_method dh;
struct diffie_hellman_method *dh;
struct lookup_verifier *verifier;
};
......@@ -54,6 +54,7 @@ struct dh_client
struct packet_handler super;
struct diffie_hellman_instance dh;
struct lookup_verifier *verifier;
struct install_keys *install;
struct packet_handler *saved_kexinit_handler;
};
......
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