Fix error message in privatekey_from_base64()

This commit is contained in:
milo
2011-03-17 10:21:20 +01:00
parent c96314971c
commit 72b53aa11e

View File

@@ -996,7 +996,7 @@ ssh_private_key privatekey_from_base64(ssh_session session, const char *b64_pkey
if (type == 0) {
type = privatekey_type_from_string(b64_pkey);
if (type == 0) {
ssh_set_error(session, SSH_FATAL, "Invalid private key file.");
ssh_set_error(session, SSH_FATAL, "Invalid private key.");
return NULL;
}
}