aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2002-01-07 15:55:20 +0000
committerBrian Feldman <green@FreeBSD.org>2002-01-07 15:55:20 +0000
commit27e5f9f620587496305645a04e3614b0b90d7dee (patch)
tree944111d7b2934d90e8411d53ece8195f2315db2b /crypto
parent0988236390f03657d80ecb5e215f58076cd4ec52 (diff)
Notes
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/authfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/authfile.c b/crypto/openssh/authfile.c
index 298b1edf7c23..4d475014cd65 100644
--- a/crypto/openssh/authfile.c
+++ b/crypto/openssh/authfile.c
@@ -556,7 +556,7 @@ key_load_private(const char *filename, const char *passphrase,
lseek(fd, (off_t) 0, SEEK_SET); /* rewind */
if (pub == NULL) {
/* closes fd */
- return key_load_private_pem(fd, KEY_UNSPEC, passphrase, NULL);
+ return key_load_private_pem(fd, KEY_UNSPEC, passphrase, commentp);
} else {
/* it's a SSH v1 key if the public key part is readable */
key_free(pub);