Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-05-26 23:17:08 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-05-26 23:17:08 +0400
commit250b95b24b1a079be5825f862e42f4b99a4c3587 (patch)
tree5bad1f93ac395a37eaa81edc3e7e58399154e332 /src/remote.h
parent441df990b4e68459eb98c10445478d0fece30b83 (diff)
ssl: allow skipping the server certificate check
Sometimes it's useful not to perform the check. Allow it to be configurable.
Diffstat (limited to 'src/remote.h')
-rw-r--r--src/remote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remote.h b/src/remote.h
index 5a1625d05..0949ad434 100644
--- a/src/remote.h
+++ b/src/remote.h
@@ -19,7 +19,8 @@ struct git_remote {
struct git_refspec push;
git_transport *transport;
git_repository *repo;
- unsigned int need_pack:1;
+ unsigned int need_pack:1,
+ check_cert;
};
#endif