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:
Andreas Schneider
2009-04-18 15:57:23 +00:00
parent ab8523a391
commit 44924db3e9

View File

@@ -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;