version 1.10, 2021/10/28 02:54:18 |
version 1.11, 2022/01/14 03:32:52 |
|
|
u_int compat, const char *pin) |
u_int compat, const char *pin) |
{ |
{ |
int oerrno, r = SSH_ERR_INTERNAL_ERROR; |
int oerrno, r = SSH_ERR_INTERNAL_ERROR; |
char *fp = NULL; |
|
struct sshbuf *kbuf = NULL, *req = NULL, *resp = NULL; |
struct sshbuf *kbuf = NULL, *req = NULL, *resp = NULL; |
|
|
*sigp = NULL; |
*sigp = NULL; |
|
|
goto out; |
goto out; |
} |
} |
|
|
if ((fp = sshkey_fingerprint(key, SSH_FP_HASH_DEFAULT, |
|
SSH_FP_DEFAULT)) == NULL) { |
|
error_f("sshkey_fingerprint failed"); |
|
r = SSH_ERR_ALLOC_FAIL; |
|
goto out; |
|
} |
|
if ((r = client_converse(req, &resp, SSH_SK_HELPER_SIGN)) != 0) |
if ((r = client_converse(req, &resp, SSH_SK_HELPER_SIGN)) != 0) |
goto out; |
goto out; |
|
|