Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix comment on WebPKI and platform verifier #447

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/cipher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,9 @@ box_castable! {
}

impl rustls_server_cert_verifier {
/// Create a new server certificate verifier that uses the system's root store and WebPKI via
/// [`rustls-platform-verifier`][].
/// Create a verifier that uses the default behavior for the current platform.
///
/// This uses [`rustls-platform-verifier`][].
///
/// The verifier can be used in several `rustls_client_config` instances and must be freed by
/// the application using `rustls_server_cert_verifier_free` when no longer needed.
Expand Down
5 changes: 3 additions & 2 deletions src/rustls.h
Original file line number Diff line number Diff line change
Expand Up @@ -1257,8 +1257,9 @@ rustls_result rustls_web_pki_server_cert_verifier_builder_build(struct rustls_we
void rustls_web_pki_server_cert_verifier_builder_free(struct rustls_web_pki_server_cert_verifier_builder *builder);

/**
* Create a new server certificate verifier that uses the system's root store and WebPKI via
* [`rustls-platform-verifier`][].
* Create a verifier that uses the default behavior for the current platform.
*
* This uses [`rustls-platform-verifier`][].
*
* The verifier can be used in several `rustls_client_config` instances and must be freed by
* the application using `rustls_server_cert_verifier_free` when no longer needed.
Expand Down