From 520f6efb94fba8e6ed2c356cd46a60c0cc3675bb Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Wed, 9 Nov 2022 09:21:48 +0100 Subject: [PATCH] Fix reference to ECC --- openssl-sys/src/macros.rs | 2 +- openssl/src/ec.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openssl-sys/src/macros.rs b/openssl-sys/src/macros.rs index 2f8bf77c39..cb675f6e41 100644 --- a/openssl-sys/src/macros.rs +++ b/openssl-sys/src/macros.rs @@ -38,7 +38,7 @@ macro_rules! cfg_if { // semicolon is all the remaining items (@__items ($($not:meta,)*) ; ) => {}; (@__items ($($not:meta,)*) ; ( ($($m:meta),*) ($($it:item)*) ), $($rest:tt)*) => { - // Emit all items within one block, applying an approprate #[cfg]. The + // Emit all items within one block, applying an appropriate #[cfg]. The // #[cfg] will require all `$m` matchers specified and must also negate // all previous matchers. cfg_if! { @__apply cfg(all($($m,)* not(any($($not),*)))), $($it)* } diff --git a/openssl/src/ec.rs b/openssl/src/ec.rs index d768612c74..a6a6dc975a 100644 --- a/openssl/src/ec.rs +++ b/openssl/src/ec.rs @@ -14,7 +14,7 @@ //! //! [`EcGroup`]: struct.EcGroup.html //! [`Nid`]: ../nid/struct.Nid.html -//! [Eliptic Curve Cryptography]: https://wiki.openssl.org/index.php/Elliptic_Curve_Cryptography +//! [Elliptic Curve Cryptography]: https://wiki.openssl.org/index.php/Elliptic_Curve_Cryptography use foreign_types::{ForeignType, ForeignTypeRef}; use libc::c_int; use std::fmt;