summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-05-29 12:31:28 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-05-29 12:31:28 +0000
commitd92d2244a2b8b960350f78b94a0b0762394612c1 (patch)
tree710de480add2194e137e18585dc95b81a23021e3 /usr.bin/ssh
parent5e05b0d0c294214816bc9a4ca786466d04f631c8 (diff)
typo
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/authfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/authfile.c b/usr.bin/ssh/authfile.c
index 519e4d21cec..17c58ba1c81 100644
--- a/usr.bin/ssh/authfile.c
+++ b/usr.bin/ssh/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 <openssl/err.h>
#include <openssl/evp.h>
@@ -558,7 +558,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);