summaryrefslogtreecommitdiff
path: root/security/openssh/files/pam_ssh.c
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2000-11-04 23:04:25 +0000
committerBrian Feldman <green@FreeBSD.org>2000-11-04 23:04:25 +0000
commitc512ae8ac925c933208cd6c71172336ffe482637 (patch)
treec36b4dc0bc1d855fd19635aa2dee8991fb1fca8b /security/openssh/files/pam_ssh.c
parentUpdate to knu-cvsweb 1.104.1.39. (diff)
Update to OpenSSH 2.2.0. This is an end-of-life update for the
ports-based OpenSSH. OpenSSH has been in the base system for more than long enough to justify not having to maintain two separate FreeBSD versions of OpenSSH.
Diffstat (limited to 'security/openssh/files/pam_ssh.c')
-rw-r--r--security/openssh/files/pam_ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/openssh/files/pam_ssh.c b/security/openssh/files/pam_ssh.c
index 7ee0788c4144..4068bafd9d7c 100644
--- a/security/openssh/files/pam_ssh.c
+++ b/security/openssh/files/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;