Source-Changes-HG archive

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

[src/trunk]: src/crypto/dist/ssh apply the following advisory. 2.9.9 will be...



details:   https://anonhg.NetBSD.org/src/rev/b4e06855bccf
branches:  trunk
changeset: 515483:b4e06855bccf
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Sep 27 00:12:42 2001 +0000

description:
apply the following advisory.  2.9.9 will be imported soon.

Subject: OpenSSH Security Advisory (adv.option)
From: Markus Friedl <markus%openbsd.org@localhost>
Message-ID: <20010926231823.A15229@folly>

diffstat:

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

diffs (27 lines):

diff -r 061d3880fe18 -r b4e06855bccf crypto/dist/ssh/key.c
--- a/crypto/dist/ssh/key.c     Wed Sep 26 21:49:09 2001 +0000
+++ b/crypto/dist/ssh/key.c     Thu Sep 27 00:12:42 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.7 2001/06/23 19:37:39 itojun Exp $   */
+/*     $NetBSD: key.c,v 1.8 2001/09/27 00:12:42 itojun Exp $   */
 /*
  * read_bignum():
  * Copyright (c) 1995 Tatu Ylonen <ylo%cs.hut.fi@localhost>, Espoo, Finland
@@ -358,7 +358,7 @@
        return 1;
 }
 
-/* returns 1 ok, -1 error, 0 type mismatch */
+/* returns 1 ok, -1 error */
 int
 key_read(Key *ret, char **cpp)
 {
@@ -413,7 +413,7 @@
                } else if (ret->type != type) {
                        /* is a key, but different type */
                        debug3("key_read: type mismatch");
-                       return 0;
+                       return -1;
                }
                len = 2*strlen(cp);
                blob = xmalloc(len);



Home | Main Index | Thread Index | Old Index