diff options
Diffstat (limited to 'include/git2/types.h')
-rw-r--r-- | include/git2/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/types.h b/include/git2/types.h index 14b7071d2..64cdfcdda 100644 --- a/include/git2/types.h +++ b/include/git2/types.h @@ -290,9 +290,10 @@ typedef struct { * @param len The size of the certificate or host info * @param valid Whether the libgit2 checks (OpenSSL or WinHTTP) think * this certificate is valid + * @param host Hostname of the host libgit2 connected to * @param payload Payload provided by the caller */ -typedef int (*git_transport_certificate_check_cb)(git_cert *cert, int valid, void *payload); +typedef int (*git_transport_certificate_check_cb)(git_cert *cert, int valid, const char *host, void *payload); /** * Opaque structure representing a submodule. |