diff options
author | billf <billf@FreeBSD.org> | 2000-11-25 01:55:42 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2000-11-25 01:55:42 +0000 |
commit | de5ab7abc178ea26bb11eac870bcaa717aa4e673 (patch) | |
tree | bbbb726e544547c79d0356d3b03957077f5a90a9 /crypto | |
parent | 15c928f7db5fa3f1b557bde0cbd264e4772a0ea7 (diff) | |
download | FreeBSD-src-de5ab7abc178ea26bb11eac870bcaa717aa4e673.zip FreeBSD-src-de5ab7abc178ea26bb11eac870bcaa717aa4e673.tar.gz |
Correct an arguement to ssh_add_identity, this matches what is currently
in ports/security/openssh/files/pam_ssh.c
PR: 22164
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
Reviewed by: green
Approved by: green
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssh/pam_ssh/pam_ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/pam_ssh/pam_ssh.c b/crypto/openssh/pam_ssh/pam_ssh.c index cdf2e55..13e5c44 100644 --- a/crypto/openssh/pam_ssh/pam_ssh.c +++ b/crypto/openssh/pam_ssh/pam_ssh.c @@ -443,7 +443,7 @@ pam_sm_open_session( env_destroy(ssh_env); return PAM_SESSION_ERR; } - retval = ssh_add_identity(ac, key.rsa, comment); + retval = ssh_add_identity(ac, &key, comment); ssh_close_authentication_connection(ac); env_swap(ssh_env, 0); return retval ? PAM_SUCCESS : PAM_SESSION_ERR; |