libgit2

git_cert_t

Version:

Type of host certificate structure that is passed to the check callback

Values

GIT_CERT_X509
0

The data argument to the callback will be a pointer to the DER-encoded data.

GIT_CERT_HOSTKEY_LIBSSH2
1

The data argument to the callback will be a pointer to a git_cert_hostkey structure.

Versions