mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-28 22:41:02 +00:00
net/quinn: Fix test panic due to unset default crypto provider
If another dep in the workspace pulls in a different rustls crypto provider then we need to explicitly specify our default provider. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1801>
This commit is contained in:
parent
9b4942c6dd
commit
a81b7f380f
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ fn init() {
|
||||||
INIT.call_once(|| {
|
INIT.call_once(|| {
|
||||||
gst::init().unwrap();
|
gst::init().unwrap();
|
||||||
gstquinn::plugin_register_static().expect("QUIC source sink send receive tests");
|
gstquinn::plugin_register_static().expect("QUIC source sink send receive tests");
|
||||||
|
rustls::crypto::ring::default_provider()
|
||||||
|
.install_default()
|
||||||
|
.expect("Failed to install ring crypto provider");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue