=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshconnect2.c,v retrieving revision 1.112 retrieving revision 1.113 diff -u -r1.112 -r1.113 --- src/usr.bin/ssh/sshconnect2.c 2003/03/05 22:33:43 1.112 +++ src/usr.bin/ssh/sshconnect2.c 2003/04/01 10:10:23 1.113 @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.112 2003/03/05 22:33:43 markus Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.113 2003/04/01 10:10:23 markus Exp $"); #include "ssh.h" #include "ssh2.h" @@ -107,6 +107,9 @@ if (options.hostkeyalgorithms != NULL) myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = options.hostkeyalgorithms; + + if (options.rekey_limit) + packet_set_rekey_limit(options.rekey_limit); /* start key exchange */ kex = kex_setup(myproposal);