mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 20:30:38 +09:00
Add FIXME.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@556 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -569,6 +569,7 @@ PRIVATE_KEY *privatekey_from_file(SSH_SESSION *session, const char *filename,
|
||||
#ifdef HAVE_LIBGCRYPT
|
||||
valid = read_dsa_privatekey(file,&dsa, auth_cb, auth_ud, "Passphrase for private key:");
|
||||
} else {
|
||||
/* FIXME implement simple passphrase function? */
|
||||
ssh_log(session, SSH_LOG_RARE,
|
||||
"No passphrase or authtentication callback specified.");
|
||||
return NULL;
|
||||
@@ -605,6 +606,7 @@ PRIVATE_KEY *privatekey_from_file(SSH_SESSION *session, const char *filename,
|
||||
#ifdef HAVE_LIBGCRYPT
|
||||
valid = read_rsa_privatekey(file, &rsa, auth_cb, auth_ud, "Passphrase for private key:");
|
||||
} else {
|
||||
/* FIXME implement simple passphrase function? */
|
||||
ssh_log(session, SSH_LOG_RARE,
|
||||
"No passphrase or authtentication callback specified.");
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user