summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-04-19 00:05:12 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-04-19 00:05:12 +0000
commita71774ca55ebf8c039d7dad9579d188f007712d7 (patch)
tree582abd5262ff123f501a768d9276ab3fa1c72f87 /usr.bin
parentea2d1f4d4630e6ca8e2ecdb6fc7ae344e57b941a (diff)
use local variable, no function call needed.
(btw, hostbased works now with ssh.com >= 2.0.13)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/auth2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index 183fd6e8d19..f2ee9a2dbc1 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/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 <openssl/evp.h>
@@ -428,7 +428,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