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/sys | |
| 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/sys')
| -rw-r--r-- | include/git2/sys/transport.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/git2/sys/transport.h b/include/git2/sys/transport.h index 44d41c14d..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; |
