Skip to content

Commit

Permalink
adapt rustls-native-certs 0.7 api back to rustls 0.21 (tokio-rustls 0…
Browse files Browse the repository at this point in the history
….24)
  • Loading branch information
xiangjinwu committed Mar 28, 2024
1 parent 102e64c commit c76913c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector/src/mqtt_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl MqttCommon {
rustls_native_certs::load_native_certs().expect("could not load platform certs")
{
root_cert_store
.add(&tokio_rustls::rustls::Certificate(cert.0))
.add(&tokio_rustls::rustls::Certificate(cert.to_vec()))
.unwrap();
}
}
Expand Down

0 comments on commit c76913c

Please sign in to comment.