MCPcopy Create free account
hub / github.com/libgit2/git2go / credential_ssh_sign_callback

Function credential_ssh_sign_callback

wrapper.c:458–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458static 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
475void _go_git_populate_credential_ssh_custom(git_credential_ssh_custom *cred)
476{

Callers

nothing calls this directly

Calls 2

set_callback_errorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…