diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2014-09-11 10:04:05 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-09-16 17:01:32 +0200 |
| commit | 41698f22f683d3452ef83de3b3e82f5cb178b0b3 (patch) | |
| tree | f38345fbab3b5865fbd34531afd44446e6a98a9e /include/git2/remote.h | |
| parent | 2aee4642ef9c0cffcebc443e81a706f3e458906f (diff) | |
| download | libgit2-41698f22f683d3452ef83de3b3e82f5cb178b0b3.tar.gz | |
net: remove support for outright ignoring certificates
This option make it easy to ignore anything about the server we're
connecting to, which is bad security practice. This was necessary as we
didn't use to expose detailed information about the certificate, but now
that we do, we should get rid of this.
If the user wants to ignore everything, they can still provide a
callback which ignores all the information passed.
Diffstat (limited to 'include/git2/remote.h')
| -rw-r--r-- | include/git2/remote.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 723147590..d2cc3e8e7 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -411,14 +411,6 @@ GIT_EXTERN(int) git_remote_supported_url(const char* url); GIT_EXTERN(int) git_remote_list(git_strarray *out, git_repository *repo); /** - * Choose whether to check the server's certificate (applies to HTTPS only) - * - * @param remote the remote to configure - * @param check whether to check the server's certificate (defaults to yes) - */ -GIT_EXTERN(void) git_remote_check_cert(git_remote *remote, int check); - -/** * Argument to the completion callback which tells it which operation * finished. */ |
