summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-04-06 10:03:09 +0100
committerGitHub <noreply@github.com>2018-04-06 10:03:09 +0100
commit0eca42304a10c9ad6170a38a440dfab8e354d38d (patch)
treee54d788da2b81a83e450364c509b2aa96185a51f /include/git2
parenta57f42ac7ec75aa575a74fa52d69f898c6a09ad1 (diff)
parente6c720ea171506663384d4a969ee643166ee9533 (diff)
downloadlibgit2-0eca42304a10c9ad6170a38a440dfab8e354d38d.tar.gz
Merge pull request #4597 from cjhoward92/fix/cert-check-docs
remote/proxy: fix git_transport_certificate_check_db description
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/proxy.h4
-rw-r--r--include/git2/remote.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/git2/proxy.h b/include/git2/proxy.h
index 194cbb651..06d46d340 100644
--- a/include/git2/proxy.h
+++ b/include/git2/proxy.h
@@ -64,8 +64,8 @@ typedef struct {
/**
* If cert verification fails, this will be called to let the
* user make the final decision of whether to allow the
- * connection to proceed. Returns 1 to allow the connection, 0
- * to disallow it or a negative value to indicate an error.
+ * connection to proceed. Returns 0 to allow the connection
+ * or a negative value to indicate an error.
*/
git_transport_certificate_check_cb certificate_check;
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 22e2291d0..3d463dec1 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -432,8 +432,8 @@ struct git_remote_callbacks {
/**
* If cert verification fails, this will be called to let the
* user make the final decision of whether to allow the
- * connection to proceed. Returns 1 to allow the connection, 0
- * to disallow it or a negative value to indicate an error.
+ * connection to proceed. Returns 0 to allow the connection
+ * or a negative value to indicate an error.
*/
git_transport_certificate_check_cb certificate_check;