libgit2

git_transport_smart_certificate_check

Version:

Call the certificate check for this transport.

Signature

int git_transport_smart_certificate_check(git_transport *transport, git_cert *cert, int valid, const char *hostname);

Parameters

In
transport

a smart transport

In
cert

the certificate to pass to the caller

int
In
valid

whether we believe the certificate is valid

const char *
In
hostname

the hostname we connected to

Returns

int

the return value of the callback

Versions