diff options
| author | Steven Fackler <[email protected]> | 2018-08-19 20:19:10 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2018-08-19 20:19:10 -0700 |
| commit | 2df87cfd5974da887b5cb84c81e249f485bed9f7 (patch) | |
| tree | b695e061049c31339c3992ad3a0403f232ebb8cf | |
| parent | Merge pull request #978 from sfackler/srtp-cleanup (diff) | |
| download | rust-openssl-2df87cfd5974da887b5cb84c81e249f485bed9f7.tar.xz rust-openssl-2df87cfd5974da887b5cb84c81e249f485bed9f7.zip | |
Fix doc reference
| -rw-r--r-- | openssl/src/ssl/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index 99cf620d..d38063bc 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -797,9 +797,9 @@ impl SslContextBuilder { /// /// The file should contain a sequence of PEM-formatted CA certificates. /// - /// This corresponds to [`SSL_CTX_set_default_verify_file`]. + /// This corresponds to [`SSL_CTX_load_verify_locations`]. /// - /// [`SSL_CTX_set_default_verify_file`]: https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_default_verify_paths.html + /// [`SSL_CTX_load_verify_locations`]: https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_load_verify_locations.html pub fn set_ca_file<P: AsRef<Path>>(&mut self, file: P) -> Result<(), ErrorStack> { let file = CString::new(file.as_ref().as_os_str().to_str().unwrap()).unwrap(); unsafe { |