version 1.241, 2019/11/12 22:36:44 |
version 1.242, 2019/11/13 07:53:10 |
|
|
error("%s: decode private key: %s", __func__, ssh_err(r)); |
error("%s: decode private key: %s", __func__, ssh_err(r)); |
goto err; |
goto err; |
} |
} |
if ((r = sshkey_shield_private(k)) != 0) { |
|
error("%s: shield private key: %s", __func__, ssh_err(r)); |
|
goto err; |
|
} |
|
while (sshbuf_len(e->request)) { |
while (sshbuf_len(e->request)) { |
if ((r = sshbuf_get_u8(e->request, &ctype)) != 0) { |
if ((r = sshbuf_get_u8(e->request, &ctype)) != 0) { |
error("%s: buffer error: %s", __func__, ssh_err(r)); |
error("%s: buffer error: %s", __func__, ssh_err(r)); |
|
|
free(sk_provider); |
free(sk_provider); |
goto send; |
goto send; |
} |
} |
|
} |
|
if ((r = sshkey_shield_private(k)) != 0) { |
|
error("%s: shield private key: %s", __func__, ssh_err(r)); |
|
goto err; |
} |
} |
|
|
success = 1; |
success = 1; |