]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2001/01/28 10:15:34
authormouring <mouring>
Mon, 29 Jan 2001 07:55:07 +0000 (07:55 +0000)
committermouring <mouring>
Mon, 29 Jan 2001 07:55:07 +0000 (07:55 +0000)
     [dispatch.c]
     re-keying is not supported; ok deraadt@

ChangeLog
dispatch.c

index d89e2317e6837077be03fd655f600d6a099de169..cdb492dcf891dfb86e2ddc9bfc66d6d9211f450c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,9 @@
    - stevesk@cvs.openbsd.org 2001/01/28 22:27:05
      [authfile.c]
      spelling.  use sizeof vs. strlen().  ok markus@
+   - markus@cvs.openbsd.org 2001/01/28 10:15:34
+     [dispatch.c]
+     re-keying is not supported; ok deraadt@
 
 20010126
  - (bal) SSH_PROGRAM vs _PATH_SSH_PROGRAM fix pointed out by Roumen 
index 74fcc553cfc767eb19c84b7814df080f0bdeb534..a771094fe65567329526c274369932e9bc829594 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "includes.h"
-RCSID("$OpenBSD: dispatch.c,v 1.7 2001/01/21 19:05:49 markus Exp $");
+RCSID("$OpenBSD: dispatch.c,v 1.8 2001/01/28 10:15:34 markus Exp $");
 
 #include "ssh1.h"
+#include "ssh2.h"
 #include "log.h"
 #include "dispatch.h"
 #include "packet.h"
+#include "compat.h"
 
 #define DISPATCH_MIN   0
 #define DISPATCH_MAX   255
@@ -38,6 +40,8 @@ void
 dispatch_protocol_error(int type, int plen, void *ctxt)
 {
        error("Hm, dispatch protocol error: type %d plen %d", type, plen);
+       if (compat20 && type == SSH2_MSG_KEXDH_INIT)
+               fatal("dispatch_protocol_error: rekeying is not supported");
 }
 void
 dispatch_init(dispatch_fn *dflt)
This page took 0.040214 seconds and 5 git commands to generate.