version 1.199, 2019/10/07 23:10:38 |
version 1.200, 2019/10/31 21:23:19 |
|
|
|
|
if ((key = get_hostkey_by_index(keyid)) != NULL) { |
if ((key = get_hostkey_by_index(keyid)) != NULL) { |
if ((r = sshkey_sign(key, &signature, &siglen, p, datlen, alg, |
if ((r = sshkey_sign(key, &signature, &siglen, p, datlen, alg, |
compat)) != 0) |
NULL, compat)) != 0) |
fatal("%s: sshkey_sign failed: %s", |
fatal("%s: sshkey_sign failed: %s", |
__func__, ssh_err(r)); |
__func__, ssh_err(r)); |
} else if ((key = get_hostkey_public_by_index(keyid, ssh)) != NULL && |
} else if ((key = get_hostkey_public_by_index(keyid, ssh)) != NULL && |