commit
e1dc466cd1
|
|
@ -403,9 +403,9 @@ impl BigNumRef {
|
||||||
|
|
||||||
/// The cryptographically weak counterpart to `rand`. Not suitable for key generation.
|
/// 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)]
|
#[allow(clippy::useless_conversion)]
|
||||||
pub fn pseudo_rand(&mut self, bits: i32, msb: MsbOption, odd: bool) -> Result<(), ErrorStack> {
|
pub fn pseudo_rand(&mut self, bits: i32, msb: MsbOption, odd: bool) -> Result<(), ErrorStack> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ generic_foreign_type_and_impl_send_sync! {
|
||||||
|
|
||||||
/// A public or private key.
|
/// A public or private key.
|
||||||
pub struct PKey<T>;
|
pub struct PKey<T>;
|
||||||
/// Reference to `PKey`.
|
/// Reference to [`PKey`].
|
||||||
pub struct PKeyRef<T>;
|
pub struct PKeyRef<T>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue