version 1.120, 2014/07/09 03:02:15 |
version 1.121, 2014/07/17 00:12:03 |
|
|
if ((r = sshkey_load_private(path, passphrase, &ret, commentp)) != 0) { |
if ((r = sshkey_load_private(path, passphrase, &ret, commentp)) != 0) { |
fatal_on_fatal_errors(r, __func__, SSH_ERR_LIBCRYPTO_ERROR); |
fatal_on_fatal_errors(r, __func__, SSH_ERR_LIBCRYPTO_ERROR); |
/* Old authfile.c ignored all file errors. */ |
/* Old authfile.c ignored all file errors. */ |
if (r == SSH_ERR_SYSTEM_ERROR) |
if (r == SSH_ERR_SYSTEM_ERROR || |
|
r == SSH_ERR_KEY_WRONG_PASSPHRASE) |
debug("%s: %s", __func__, ssh_err(r)); |
debug("%s: %s", __func__, ssh_err(r)); |
else |
else |
error("%s: %s", __func__, ssh_err(r)); |
error("%s: %s", __func__, ssh_err(r)); |
|
|
&ret, perm_ok)) != 0) { |
&ret, perm_ok)) != 0) { |
fatal_on_fatal_errors(r, __func__, SSH_ERR_LIBCRYPTO_ERROR); |
fatal_on_fatal_errors(r, __func__, SSH_ERR_LIBCRYPTO_ERROR); |
/* Old authfile.c ignored all file errors. */ |
/* Old authfile.c ignored all file errors. */ |
if (r == SSH_ERR_SYSTEM_ERROR) |
if (r == SSH_ERR_SYSTEM_ERROR || |
|
r == SSH_ERR_KEY_WRONG_PASSPHRASE) |
debug("%s: %s", __func__, ssh_err(r)); |
debug("%s: %s", __func__, ssh_err(r)); |
else |
else |
error("%s: %s", __func__, ssh_err(r)); |
error("%s: %s", __func__, ssh_err(r)); |