summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
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;