From 81cd1736d93611ea07996c730190910982c28166 Mon Sep 17 00:00:00 2001 From: Sachin agarwal Date: Fri, 20 Dec 2019 08:48:38 +0530 Subject: [PATCH] In the documentation of SslContextBuilder::set_cipher_list, we had given link of "SSL_get_client_ciphers" rather than "SSL_CTX_set_cipher_list". 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..a24f9eff 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -1023,7 +1023,7 @@ impl SslContextBuilder { /// This corresponds to [`SSL_CTX_set_cipher_list`]. /// /// [`ciphers`]: https://www.openssl.org/docs/man1.1.0/apps/ciphers.html - /// [`SSL_CTX_set_cipher_list`]: https://www.openssl.org/docs/man1.1.0/ssl/SSL_get_client_ciphers.html + /// [`SSL_CTX_set_cipher_list`]: https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_cipher_list.html pub fn set_cipher_list(&mut self, cipher_list: &str) -> Result<(), ErrorStack> { let cipher_list = CString::new(cipher_list).unwrap(); unsafe {