mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
pki: Add log message on error in ssh_pki_openssh_import()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -313,6 +313,9 @@ ssh_pki_openssh_import(const char *text_key,
|
||||
*/
|
||||
if (!private) {
|
||||
rc = ssh_pki_import_pubkey_blob(pubkey0, &key);
|
||||
if (rc != SSH_OK) {
|
||||
SSH_LOG(SSH_LOG_WARN, "Failed to import public key blob");
|
||||
}
|
||||
/* in either case we clean up here */
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user