git_remote_callbacks.certificate_check

If cert verification fails, this will be called to let the user make the final decision of whether to allow the connection to proceed. Returns 0 to allow the connection or a negative value to indicate an error.

struct git_remote_callbacks
libgit2_d.cert.git_transport_certificate_check_cb certificate_check;

Meta