diff --git a/boring/src/bn.rs b/boring/src/bn.rs index c50b29ab..9481d8d3 100644 --- a/boring/src/bn.rs +++ b/boring/src/bn.rs @@ -403,9 +403,9 @@ impl BigNumRef { /// The cryptographically weak counterpart to `rand`. Not suitable for key generation. /// - /// OpenSSL documentation at [`BN_psuedo_rand`] + /// OpenSSL documentation at [`BN_pseudo_rand`] /// - /// [`BN_psuedo_rand`]: https://www.openssl.org/docs/man1.1.0/crypto/BN_pseudo_rand.html + /// [`BN_pseudo_rand`]: https://www.openssl.org/docs/man1.1.0/crypto/BN_pseudo_rand.html #[allow(clippy::useless_conversion)] pub fn pseudo_rand(&mut self, bits: i32, msb: MsbOption, odd: bool) -> Result<(), ErrorStack> { unsafe { diff --git a/boring/src/pkey.rs b/boring/src/pkey.rs index 4054abd1..1d5ab7f3 100644 --- a/boring/src/pkey.rs +++ b/boring/src/pkey.rs @@ -122,7 +122,7 @@ generic_foreign_type_and_impl_send_sync! { /// A public or private key. pub struct PKey; - /// Reference to `PKey`. + /// Reference to [`PKey`]. pub struct PKeyRef; }