=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshconnect2.c,v retrieving revision 1.114 retrieving revision 1.115 diff -u -r1.114 -r1.115 --- src/usr.bin/ssh/sshconnect2.c 2003/04/01 10:22:21 1.114 +++ src/usr.bin/ssh/sshconnect2.c 2003/04/02 09:48:07 1.115 @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.114 2003/04/01 10:22:21 markus Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.115 2003/04/02 09:48:07 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);