Fix a typo

This commit is contained in:
Rodolphe Breard 2020-10-10 13:02:02 +02:00
parent d9d805f3d7
commit 5fc9ad88a3
1 changed files with 2 additions and 2 deletions

View File

@ -633,9 +633,9 @@ where
{ {
/// Returns the public key. /// Returns the public key.
/// ///
/// OpenSSL documentation at [`EC_KEY_get0_pubic_key`] /// OpenSSL documentation at [`EC_KEY_get0_public_key`]
/// ///
/// [`EC_KEY_get0_pubic_key`]: https://www.openssl.org/docs/man1.1.0/crypto/EC_KEY_get0_public_key.html /// [`EC_KEY_get0_public_key`]: https://www.openssl.org/docs/man1.1.0/crypto/EC_KEY_get0_public_key.html
pub fn public_key(&self) -> &EcPointRef { pub fn public_key(&self) -> &EcPointRef {
unsafe { unsafe {
let ptr = ffi::EC_KEY_get0_public_key(self.as_ptr()); let ptr = ffi::EC_KEY_get0_public_key(self.as_ptr());