version 1.346, 2021/01/27 10:05:28 |
version 1.347, 2021/04/03 06:18:41 |
|
|
const char *note = ""; |
const char *note = ""; |
|
|
if (id->key != NULL) { |
if (id->key != NULL) { |
fp = sshkey_fingerprint(id->key, options.fingerprint_hash, |
fp = sshkey_fingerprint(id->key, options.fingerprint_hash, |
SSH_FP_DEFAULT); |
SSH_FP_DEFAULT); |
} |
} |
if (id->key) { |
if (id->key) { |
|
|
return SSH_ERR_KEY_NOT_FOUND; |
return SSH_ERR_KEY_NOT_FOUND; |
if (id->key != NULL && !sshkey_equal_public(prv, id->key)) { |
if (id->key != NULL && !sshkey_equal_public(prv, id->key)) { |
error_f("private key %s contents do not match public", |
error_f("private key %s contents do not match public", |
id->filename); |
id->filename); |
r = SSH_ERR_KEY_NOT_FOUND; |
r = SSH_ERR_KEY_NOT_FOUND; |
goto out; |
goto out; |
} |
} |