libgit2

git_transport_certificate_check_cb

Version:

Callback for the user's custom certificate checks.

Signature

typedef int git_transport_certificate_check_cb(git_cert *type, int data, const char *len, void *valid, , );

Parameters

In
type

The type of certificate or host info, SSH or X.509

int
In
data

The data for the certificate or host info

const char *
In
len

The size of the certificate or host info

void *
In
valid

Whether the libgit2 checks (OpenSSL or WinHTTP) think this certificate is valid

Versions