remote/proxy: fix git_transport_certificate_check_db comment
diff --git a/include/git2/proxy.h b/include/git2/proxy.h
index 194cbb6..06d46d3 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 22e2291..3d463de 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;