-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I was building on Mac and I got the following
$>cargo build --release
...
...
...
Compiling boring v4.7.0
error[E0425]: cannot find function, tuple struct or tuple variant `PEM_write_bio_DHparams` in crate `ffi`
--> /Users/panagiotisvouzis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-4.7.0/src/dh.rs:33:14
|
33 | ffi::PEM_write_bio_DHparams
| ^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`
error[E0425]: cannot find function, tuple struct or tuple variant `PEM_read_bio_DHparams` in crate `ffi`
--> /Users/panagiotisvouzis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-4.7.0/src/dh.rs:67:14
|
67 | ffi::PEM_read_bio_DHparams
| ^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`
error[E0425]: cannot find function, tuple struct or tuple variant `PEM_write_bio_DSA_PUBKEY` in crate `ffi`
--> /Users/panagiotisvouzis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-4.7.0/src/dsa.rs:92:14
|
92 | ffi::PEM_write_bio_DSA_PUBKEY
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`
I had to make this change to fix it:
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,7 +26,7 @@ nq-tokio-network = { path = "./crates/nq-tokio-network" }
anyhow = "1.0"
async-trait = { version = "0.1" }
-boring = "4.1"
+boring = "4.10.3"
clap = "4.3"
clap-verbosity-flag = "2.1"
http = "1.0"
@@ -42,5 +42,5 @@ tracing = "0.1"
tracing-subscriber = "0.3"
tokio = "1.0"
tokio-util = "0.7"
-tokio-boring = "4.1"
+tokio-boring = "4.10.3"
url = "2.4"
Metadata
Metadata
Assignees
Labels
No labels