We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ade237 commit 57746deCopy full SHA for 57746de
crates/openfang-kernel/src/kernel.rs
@@ -511,7 +511,12 @@ impl OpenFangKernel {
511
512
/// Boot the kernel with an explicit configuration.
513
pub fn boot_with_config(mut config: KernelConfig) -> KernelResult<Self> {
514
- let _ = rustls::crypto::ring::default_provider().install_default();
+ if rustls::crypto::ring::default_provider()
515
+ .install_default()
516
+ .is_err()
517
+ {
518
+ debug!("rustls crypto provider already installed, skipping");
519
+ }
520
521
use openfang_types::config::KernelMode;
522
0 commit comments