From f102b3792bf2cc6a377ae66b77af855953fd0272 Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Tue, 28 Feb 2023 13:27:35 +0100 Subject: [PATCH 1/2] =?UTF-8?q?psuedo=20=E2=86=92=20pseudo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- boring/src/bn.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { From 8c2c2bd2b652b1b89e83a7ee31a3064ea51fc62a Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Tue, 28 Feb 2023 14:33:07 +0100 Subject: [PATCH 2/2] Add link in docs --- boring/src/pkey.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }