mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Merge pull request #7119 from ehuss/cert_cb-always-called
Update documentation to clarify that cert cb is always called
This commit is contained in:
@@ -70,9 +70,8 @@ typedef struct {
|
||||
git_credential_acquire_cb credentials;
|
||||
|
||||
/**
|
||||
* 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 0 to allow the connection
|
||||
* This will be called to let the user make the final decision of whether
|
||||
* to allow the connection to proceed. Returns 0 to allow the connection
|
||||
* or a negative value to indicate an error.
|
||||
*/
|
||||
git_transport_certificate_check_cb certificate_check;
|
||||
|
||||
@@ -596,9 +596,8 @@ struct git_remote_callbacks {
|
||||
git_credential_acquire_cb credentials;
|
||||
|
||||
/**
|
||||
* 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 0 to allow the connection
|
||||
* This will be called to let the user make the final decision of whether
|
||||
* to allow the connection to proceed. Returns 0 to allow the connection
|
||||
* or a negative value to indicate an error.
|
||||
*/
|
||||
git_transport_certificate_check_cb certificate_check;
|
||||
|
||||
Reference in New Issue
Block a user