Merge pull request #104 from tbu-/pr_doc_typo

psuedo → pseudo
This commit is contained in:
Ivan Nikulin 2023-05-11 16:20:47 +01:00 committed by GitHub
commit e1dc466cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -122,7 +122,7 @@ generic_foreign_type_and_impl_send_sync! {
/// A public or private key.
pub struct PKey<T>;
/// Reference to `PKey`.
/// Reference to [`PKey`].
pub struct PKeyRef<T>;
}