version 1.121, 2014/07/17 00:12:03 |
version 1.122, 2014/07/22 01:18:50 |
|
|
if ((r = sshkey_load_private_pem(fd, type, passphrase, |
if ((r = sshkey_load_private_pem(fd, type, passphrase, |
&ret, commentp)) != 0) { |
&ret, commentp)) != 0) { |
fatal_on_fatal_errors(r, __func__, SSH_ERR_LIBCRYPTO_ERROR); |
fatal_on_fatal_errors(r, __func__, SSH_ERR_LIBCRYPTO_ERROR); |
error("%s: %s", __func__, ssh_err(r)); |
if (r == SSH_ERR_KEY_WRONG_PASSPHRASE) |
|
debug("%s: %s", __func__, ssh_err(r)); |
|
else |
|
error("%s: %s", __func__, ssh_err(r)); |
return NULL; |
return NULL; |
} |
} |
return ret; |
return ret; |