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

* keyexchange.c (kex_make_key): Signedness fix.

Rev: src/keyexchange.c:1.38
parent 4b83810d
......@@ -351,7 +351,7 @@ static struct lsh_string *kex_make_key(struct hash_instance *secret,
/* FIXME: This code could probably be simplified a little, but
* it should do for now. */
int key_ofs, max;
unsigned key_ofs, max;
max = MIN(key_length, hash->hash_size);
......
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