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

Function certificate_check_callback

wrapper.c:299–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299static int certificate_check_callback(git_cert *cert, int valid, const char *host, void *data)
300{
301 char *error_message = NULL;
302 const int ret = certificateCheckCallback(
303 &error_message,
304 cert,
305 valid,
306 (char *)host,
307 data
308 );
309 return set_callback_error(error_message, ret);
310}
311
312static int pack_progress_callback(int stage, unsigned int current, unsigned int total, void *data)
313{

Callers

nothing calls this directly

Calls 2

certificateCheckCallbackFunction · 0.85
set_callback_errorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…