commit
7f2b63eb71
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue