summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2023-01-25 14:59:45 +0100
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2023-01-26 11:03:37 +0100
commit4efd0974a679a75de93fc50d28a7498eb8e0471b (patch)
tree416ffac611f9bfaa4b06e1a20b84fee35486a6ae
parent93426d2bcae3d7d9cf83370bcb83ae126267743c (diff)
net: Switch to OpenSSL for DNSSEC validation.
-rw-r--r--Cargo.lock23
-rw-r--r--net/Cargo.toml2
2 files changed, 2 insertions, 23 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 02bc4181..7579d773 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2533,21 +2533,6 @@ dependencies = [
]
[[package]]
-name = "ring"
-version = "0.16.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
-dependencies = [
- "cc",
- "libc",
- "once_cell",
- "spin",
- "untrusted",
- "web-sys",
- "winapi",
-]
-
-[[package]]
name = "ripemd160"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3570,8 +3555,8 @@ dependencies = [
"idna",
"ipnet",
"lazy_static",
+ "openssl",
"rand 0.8.5",
- "ring",
"smallvec",
"thiserror",
"tinyvec",
@@ -3737,12 +3722,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
[[package]]
-name = "untrusted"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
-
-[[package]]
name = "url"
version = "2.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/net/Cargo.toml b/net/Cargo.toml
index 152fbae5..b1855cf5 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -39,7 +39,7 @@ zbase32 = "0.1.2"
tokio = { version = "1.13.1", features = [ "macros" ] }
base64 = ">=0.12, <0.20"
trust-dns-client = "0.22"
-trust-dns-resolver = { version = "0.22", features = ["dnssec-ring"] }
+trust-dns-resolver = { version = "0.22", features = ["dnssec-openssl"]}
[dev-dependencies]
rand = { version = "0.8", default-features = false, features = [ "getrandom" ] }