diff options
| author | Vicent Marti <vicent@github.com> | 2014-09-17 14:56:39 +0200 |
|---|---|---|
| committer | Vicent Marti <vicent@github.com> | 2014-09-17 14:56:39 +0200 |
| commit | 1312f87b6838649cca525935656c84c7bd07a9a1 (patch) | |
| tree | bee84ab5e746484a13b75fbee0b8ca4a14d7f256 /include/git2/sys | |
| parent | 25abbc27a77895e2f2316ed307b51e628d85f15c (diff) | |
| parent | 52e09724fde2d46c1f31d07f6445dc7b4dee3947 (diff) | |
| download | libgit2-1312f87b6838649cca525935656c84c7bd07a9a1.tar.gz | |
Merge pull request #2464 from libgit2/cmn/host-cert-info
Provide a callback for certificate validation
Diffstat (limited to 'include/git2/sys')
| -rw-r--r-- | include/git2/sys/transport.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/git2/sys/transport.h b/include/git2/sys/transport.h index 62ac455d3..1e8f4e4ed 100644 --- a/include/git2/sys/transport.h +++ b/include/git2/sys/transport.h @@ -23,9 +23,6 @@ GIT_BEGIN_DECL typedef enum { GIT_TRANSPORTFLAGS_NONE = 0, - /* If the connection is secured with SSL/TLS, the authenticity - * of the server certificate should not be verified. */ - GIT_TRANSPORTFLAGS_NO_CHECK_CERT = 1 } git_transport_flags_t; typedef struct git_transport git_transport; @@ -37,6 +34,7 @@ struct git_transport { git_transport *transport, git_transport_message_cb progress_cb, git_transport_message_cb error_cb, + git_transport_certificate_check_cb certificate_check_cb, void *payload); /* Connect the transport to the remote repository, using the given |
