Commit ba336232 authored by Keresztfalvi Gabor Agoston's avatar Keresztfalvi Gabor Agoston Committed by Niels Möller
Browse files

* lshd.c (main): Bug fix (pass *address* of

crypto_rc4_algorithm). Thanks to Keresztfalvi Gabor Agoston
<kg230@hszk.bme.hu>.

Rev: src/lshd.c:1.20
parent 3dcc3d87
......@@ -187,7 +187,7 @@ int main(int argc, char **argv)
init_host_key(r); /* Initializes public_key and secret_key */
kex = make_dh_server(dh, public_key, secret_key);
algorithms = make_alist(4,
ATOM_ARCFOUR, crypto_rc4_algorithm,
ATOM_ARCFOUR, &crypto_rc4_algorithm,
ATOM_HMAC_SHA1, make_hmac_algorithm(&sha_algorithm),
ATOM_DIFFIE_HELLMAN_GROUP1_SHA1, kex,
ATOM_SSH_DSS, make_dss_algorithm(r), -1);
......
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