diff --git a/services/key_enable/src/profile_utils.rs b/services/key_enable/src/profile_utils.rs index 93094561b40c45c712edfc6fda122bb0c221ed65..b4ca308341dc1c00f8d89cc89a7b3b7928b20192 100644 --- a/services/key_enable/src/profile_utils.rs +++ b/services/key_enable/src/profile_utils.rs @@ -241,8 +241,7 @@ pub fn add_profile_cert_path( if process_profile(false, &x509_store, cert_paths.get_profile_info().as_slice()).is_err() { return Err(ProfileError::AddCertPathError); } - if unsafe { IsDeveloperModeOn() } - && process_profile(true, &x509_store, cert_paths.get_debug_profile_info().as_slice()).is_err() { + if process_profile(true, &x509_store, cert_paths.get_debug_profile_info().as_slice()).is_err() { return Err(ProfileError::AddCertPathError); } Ok(())