From ac8214dad3f418cad765a480c51702eba5968b13 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Thu, 12 Dec 2019 21:59:58 +0000 Subject: [PATCH] Fix documentation typo of "chain" In the documentation of `SslRef::verified_chain`, we had written "certificate chani" rather than "certificate chain". In this commit, we fix the typo. --- openssl/src/ssl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index ad3b9202..0ae5a49c 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -2594,7 +2594,7 @@ impl SslRef { } } - /// Returns the verified certificate chani of the peer, including the leaf certificate. + /// Returns the verified certificate chain of the peer, including the leaf certificate. /// /// If verification was not successful (i.e. [`verify_result`] does not return /// [`X509VerifyResult::OK`]), this chain may be incomplete or invalid.