diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-26 23:17:08 +0400 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-26 23:17:08 +0400 |
commit | 250b95b24b1a079be5825f862e42f4b99a4c3587 (patch) | |
tree | 5bad1f93ac395a37eaa81edc3e7e58399154e332 /src/remote.h | |
parent | 441df990b4e68459eb98c10445478d0fece30b83 (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.h | 3 |
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 |