| 456 | } |
| 457 | |
| 458 | static int credential_ssh_sign_callback( |
| 459 | LIBSSH2_SESSION *session, |
| 460 | unsigned char **sig, size_t *sig_len, |
| 461 | const unsigned char *data, size_t data_len, |
| 462 | void **abstract) |
| 463 | { |
| 464 | char *error_message = NULL; |
| 465 | const int ret = credentialSSHSignCallback( |
| 466 | &error_message, |
| 467 | sig, |
| 468 | sig_len, |
| 469 | (unsigned char *)data, |
| 470 | data_len, |
| 471 | (void *)*(uintptr_t *)abstract); |
| 472 | return set_callback_error(error_message, ret); |
| 473 | } |
| 474 | |
| 475 | void _go_git_populate_credential_ssh_custom(git_credential_ssh_custom *cred) |
| 476 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…