Skip to content

Commit

Permalink
add deprecation warn message
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmith3197 committed Aug 9, 2023
1 parent 2c10dcd commit 6718861
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ pub fn init_logging(color: bool, format: LogFormat, log_level: &str, rate: u64)
/// The returned [Provider] must stay in scope for the entire lifetime of the application, as it
/// will be unloaded when it is dropped.
pub fn load_openssl_legacy_provider() -> Option<Provider> {
warn!(message = "DEPRECATED The openssl legacy provider provides algorithms and key sizes no longer recommended for use.");
Provider::try_load(None, "legacy", true)
.map(|provider| {
info!(message = "Loaded openssl legacy provider.");
Expand Down

0 comments on commit 6718861

Please sign in to comment.