Skip to content

Commit

Permalink
restricted RSA_meth_set_multi_prime_keygen to ossl111, like the docum…
Browse files Browse the repository at this point in the history
…entation says
  • Loading branch information
brimonk committed Apr 11, 2024
1 parent 8c45700 commit 0c8573f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions openssl-sys/src/handwritten/rsa_meth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ extern "C" {
) -> c_int,
) -> c_int;

#[cfg(ossl111)]
pub fn RSA_meth_set_multi_prime_keygen(
meth: *mut RSA_METHOD,
keygen: extern "C" fn(
Expand Down
1 change: 1 addition & 0 deletions openssl/src/rsa_meth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ impl RsaMethod {

#[corresponds(RSA_meth_set_multi_prime_keygen)]
#[inline]
#[cfg(ossl111)]
pub fn set_multi_prime_keygen(
&self,
keygen: extern "C" fn(
Expand Down

0 comments on commit 0c8573f

Please sign in to comment.