We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e522dc4 commit 2f4cf0cCopy full SHA for 2f4cf0c
openssl-sys/src/dh.rs
@@ -4,7 +4,7 @@ use std::ptr;
4
use super::super::*;
5
6
cfg_if! {
7
- if #[cfg(not(ossl300))] {
+ if #[cfg(any(not(ossl300), boringssl))] {
8
pub unsafe fn EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx: *mut EVP_PKEY_CTX, len: c_int) -> c_int {
9
EVP_PKEY_CTX_ctrl(
10
ctx,
openssl-sys/src/handwritten/dh.rs
@@ -1,6 +1,6 @@
1
2
3
-#[cfg(ossl300)]
+#[cfg(all(ossl300, not(boringssl)))]
extern "C" {
pub fn EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx: *mut EVP_PKEY_CTX, len: c_int) -> c_int;
pub fn EVP_PKEY_CTX_set_dh_paramgen_generator(ctx: *mut EVP_PKEY_CTX, gen: c_int) -> c_int;
0 commit comments