diff options
| author | Ansley Peduru <[email protected]> | 2018-01-01 16:16:41 -0500 |
|---|---|---|
| committer | Ansley Peduru <[email protected]> | 2018-01-01 16:16:41 -0500 |
| commit | c4620a30c62f94888c1cc31804bcc1004567ed1e (patch) | |
| tree | 7097e73952a42d3c1376be3de60693c862eac370 /openssl/src | |
| parent | Merge branch 'master' into x509-docs (diff) | |
| download | rust-openssl-c4620a30c62f94888c1cc31804bcc1004567ed1e.tar.xz rust-openssl-c4620a30c62f94888c1cc31804bcc1004567ed1e.zip | |
Fix links in x509 module
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/verify.rs | 2 | ||||
| -rw-r--r-- | openssl/src/x509/mod.rs | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/openssl/src/verify.rs b/openssl/src/verify.rs index 866f4f14..9ed80539 100644 --- a/openssl/src/verify.rs +++ b/openssl/src/verify.rs @@ -62,7 +62,7 @@ impl X509VerifyParamRef { /// /// This corresponds to [`X509_VERIFY_PARAM_set1_ip`]. /// - /// [`X509_VERIFY_PARAM_set1_ip`]: https://www.openssl.org/docs/man1.1.0/crypto/X509_VERIFY_PARAM_set1_ip.htm://www.openssl.org/docs/man1.1.0/crypto/X509_VERIFY_PARAM_set1_ip.html + /// [`X509_VERIFY_PARAM_set1_ip`]: https://www.openssl.org/docs/man1.1.0/crypto/X509_VERIFY_PARAM_set1_ip.html pub fn set_ip(&mut self, ip: IpAddr) -> Result<(), ErrorStack> { unsafe { let mut buf = [0; 16]; diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index 9aff6dc1..09973570 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -9,6 +9,8 @@ //! //! # Example //! +//! Build an `X509` certificate and use a generated RSA key to sign it. +//! //! ```rust //! //! extern crate openssl; @@ -102,9 +104,9 @@ impl X509StoreContext { impl X509StoreContextRef { /// Returns application data pertaining to an `X509` store context. /// - /// This corresponds to [`CRYPTO_get_ex_data`]. + /// This corresponds to [`X509_STORE_CTX_get_ex_data`]. /// - /// [`CRYPTO_get_ex_data`]: https://www.openssl.org/docs/man1.1.0/crypto/CRYPTO_get_ex_data.html + /// [`X509_STORE_CTX_get_ex_data`]: https://www.openssl.org/docs/man1.0.2/crypto/X509_STORE_CTX_get_ex_data.html pub fn ex_data<T>(&self, index: Index<X509StoreContext, T>) -> Option<&T> { unsafe { let data = ffi::X509_STORE_CTX_get_ex_data(self.as_ptr(), index.as_raw()); |