From 5fc9ad88a32f5bbdb327e47757b0af55d8cad8bd Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sat, 10 Oct 2020 13:02:02 +0200 Subject: [PATCH] Fix a typo --- openssl/src/ec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openssl/src/ec.rs b/openssl/src/ec.rs index 49c26dc3..23d4015d 100644 --- a/openssl/src/ec.rs +++ b/openssl/src/ec.rs @@ -633,9 +633,9 @@ where { /// 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 { unsafe { let ptr = ffi::EC_KEY_get0_public_key(self.as_ptr());