From 3f36496e33ffb16b9b1c0d6c6da33c021b26f6a2 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 19 Apr 2001 20:50:07 +0000 Subject: [PATCH] - markus@cvs.openbsd.org 2001/04/19 00:05:11 [auth2.c] use local variable, no function call needed. (btw, hostbased works now with ssh.com >= 2.0.13) --- ChangeLog | 6 +++++- auth2.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3d7748486..a9e33c196 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,10 @@ - markus@cvs.openbsd.org 2001/04/18 23:44:51 [authfile.c] error->debug; noted by fries@ + - markus@cvs.openbsd.org 2001/04/19 00:05:11 + [auth2.c] + use local variable, no function call needed. + (btw, hostbased works now with ssh.com >= 2.0.13) 20010418 - OpenBSD CVS Sync @@ -5181,4 +5185,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1145 2001/04/19 20:47:10 mouring Exp $ +$Id: ChangeLog,v 1.1146 2001/04/19 20:50:07 mouring Exp $ diff --git a/auth2.c b/auth2.c index 1abb01d2a..5ffd43fe5 100644 --- a/auth2.c +++ b/auth2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.55 2001/04/18 23:43:25 markus Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.56 2001/04/19 00:05:11 markus Exp $"); #include @@ -482,7 +482,7 @@ userauth_pubkey(Authctxt *authctxt) } else { buffer_put_cstring(&b, "publickey"); buffer_put_char(&b, have_sig); - buffer_put_cstring(&b, key_ssh_name(key)); + buffer_put_cstring(&b, pkalg); } buffer_put_string(&b, pkblob, blen); #ifdef DEBUG_PK