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 /src/netops.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 'src/netops.h')
-rw-r--r-- | src/netops.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/netops.h b/src/netops.h index dfb4ab7b4..beb0e0760 100644 --- a/src/netops.h +++ b/src/netops.h @@ -47,10 +47,6 @@ typedef struct gitno_buffer gitno_buffer; enum { /* Attempt to create an SSL connection. */ GITNO_CONNECT_SSL = 1, - - /* Valid only when GITNO_CONNECT_SSL is also specified. - * Indicates that the server certificate should not be validated. */ - GITNO_CONNECT_SSL_NO_CHECK_CERT = 2, }; /** |