mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
Fix error message in privatekey_from_base64()
This commit is contained in:
@@ -996,7 +996,7 @@ ssh_private_key privatekey_from_base64(ssh_session session, const char *b64_pkey
|
|||||||
if (type == 0) {
|
if (type == 0) {
|
||||||
type = privatekey_type_from_string(b64_pkey);
|
type = privatekey_type_from_string(b64_pkey);
|
||||||
if (type == 0) {
|
if (type == 0) {
|
||||||
ssh_set_error(session, SSH_FATAL, "Invalid private key file.");
|
ssh_set_error(session, SSH_FATAL, "Invalid private key.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user