mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Update documentation to clarify that cert cb is always called
This removes the phrase "if cert verification fails" because the
certificate callback is *always* called whether it fails or not. This
was changed in
17491f6e56,
but presumably this piece of documentation was not updated.
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