Skip to content

Commit f62a7ff

Browse files
committed
[Monitor] Install aws-lc-rs as default crypto provider
1 parent 20e7cc3 commit f62a7ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nts-pool-monitor/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ pub(crate) mod exitcode {
9797
const VERSION: &str = env!("CARGO_PKG_VERSION");
9898

9999
pub async fn monitor_main() -> Result<(), Box<dyn std::error::Error>> {
100+
rustls::crypto::aws_lc_rs::default_provider()
101+
.install_default()
102+
.expect("Failed to init default crypto provider");
103+
100104
let options = MonitorOptions::try_parse_from(std::env::args())?;
101105

102106
match options.action {

0 commit comments

Comments
 (0)