From a10bdd7c0659852f913bdd9a500d8b224a1307a6 Mon Sep 17 00:00:00 2001 From: mouring Date: Tue, 5 Jun 2001 21:13:57 +0000 Subject: [PATCH] - markus@cvs.openbsd.org 2001/05/29 12:31:27 [authfile.c] typo --- ChangeLog | 3 +++ authfile.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b039aa0..3ee099ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -75,6 +75,9 @@ - markus@cvs.openbsd.org 2001/05/28 23:58:35 [packet.c packet.h sshconnect.c sshd.c] remove some lines, simplify. + - markus@cvs.openbsd.org 2001/05/29 12:31:27 + [authfile.c] + typo 20010528 - (tim) [conifgure.in] add setvbuf test needed for sftp-int.c diff --git a/authfile.c b/authfile.c index e1a9a21a..db6aed83 100644 --- a/authfile.c +++ b/authfile.c @@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfile.c,v 1.34 2001/05/28 10:08:55 markus Exp $"); +RCSID("$OpenBSD: authfile.c,v 1.35 2001/05/29 12:31:27 markus Exp $"); #include #include @@ -561,7 +561,7 @@ key_load_private(const char *filename, const char *passphrase, prv = key_load_private_pem(fd, KEY_UNSPEC, passphrase, NULL); /* use the filename as a comment for PEM */ if (commentp && prv) - commentp = xstrdup(filename); + *commentp = xstrdup(filename); } else { /* it's a SSH v1 key if the public key part is readable */ key_free(pub); -- 2.45.1