Skip to content

Commit

Permalink
Merge pull request #921 from ehuss/remote_callback-doc-link
Browse files Browse the repository at this point in the history
Fix intra-doc link for CertificateCheckStatus
  • Loading branch information
ehuss authored Jan 22, 2023
2 parents 727d73f + 1bd987e commit ee558c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote_callbacks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub type UpdateTips<'a> = dyn FnMut(&str, Oid, Oid) -> bool + 'a;
pub type CertificateCheck<'a> =
dyn FnMut(&Cert<'_>, &str) -> Result<CertificateCheckStatus, Error> + 'a;

/// The return value for the [`CertificateCheck`] callback.
/// The return value for the [`RemoteCallbacks::certificate_check`] callback.
pub enum CertificateCheckStatus {
/// Indicates that the certificate should be accepted.
CertificateOk,
Expand Down

0 comments on commit ee558c1

Please sign in to comment.