diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2012-05-26 17:03:45 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2012-05-26 17:03:45 +0000 |
| commit | 8d6900eab812a25f02eafca386914778eeab5c69 (patch) | |
| tree | a64dcdb82b6e12acfadc19359a8ed726b70b6aaf /lib/libpam/modules | |
| parent | 89e36b6494cf434a1633af8159b4f4a24f147856 (diff) | |
Notes
Diffstat (limited to 'lib/libpam/modules')
| -rw-r--r-- | lib/libpam/modules/pam_ssh/pam_ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_ssh/pam_ssh.c b/lib/libpam/modules/pam_ssh/pam_ssh.c index ab4990bcbb1fe..405dd6bbf4160 100644 --- a/lib/libpam/modules/pam_ssh/pam_ssh.c +++ b/lib/libpam/modules/pam_ssh/pam_ssh.c @@ -112,7 +112,7 @@ pam_ssh_load_key(const char *dir, const char *kfn, const char *passphrase, * with an empty passphrase, and if the key is not encrypted, * accept only an empty passphrase. */ - key = key_load_private(fn, NULL, &comment); + key = key_load_private(fn, "", &comment); if (key != NULL && !(*passphrase == '\0' && nullok)) { key_free(key); return (NULL); |
