Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ssh typo. markus@openbsd



details:   https://anonhg.NetBSD.org/src/rev/efb906b010df
branches:  trunk
changeset: 552089:efb906b010df
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Sep 18 12:42:33 2003 +0000

description:
typo.  markus@openbsd

diffstat:

 crypto/dist/ssh/ssh-agent.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a26e9bc888b1 -r efb906b010df crypto/dist/ssh/ssh-agent.c
--- a/crypto/dist/ssh/ssh-agent.c       Thu Sep 18 11:25:00 2003 +0000
+++ b/crypto/dist/ssh/ssh-agent.c       Thu Sep 18 12:42:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ssh-agent.c,v 1.22 2003/09/17 23:19:03 christos Exp $  */
+/*     $NetBSD: ssh-agent.c,v 1.23 2003/09/18 12:42:33 itojun Exp $    */
 /*
  * Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
  * Copyright (c) 1995 Tatu Ylonen <ylo%cs.hut.fi@localhost>, Espoo, Finland
@@ -37,7 +37,7 @@
 #include "includes.h"
 #include <sys/queue.h>
 RCSID("$OpenBSD: ssh-agent.c,v 1.108 2003/03/13 11:44:50 markus Exp $");
-__RCSID("$NetBSD: ssh-agent.c,v 1.22 2003/09/17 23:19:03 christos Exp $");
+__RCSID("$NetBSD: ssh-agent.c,v 1.23 2003/09/18 12:42:33 itojun Exp $");
 
 #include <openssl/evp.h>
 #include <openssl/md5.h>
@@ -789,7 +789,7 @@
                sockets = xrealloc(sockets, new_alloc * sizeof(sockets[0]));
        else
                sockets = xmalloc(new_alloc * sizeof(sockets[0]));
-       for (i = old_alloc; i < sockets_alloc; i++)
+       for (i = old_alloc; i < new_alloc; i++)
                sockets[i].type = AUTH_UNUSED;
        sockets_alloc = new_alloc;
        sockets[old_alloc].fd = fd;



Home | Main Index | Thread Index | Old Index