We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09d0b7 commit 745525eCopy full SHA for 745525e
parsec-openssl-provider/src/keymgmt/mod.rs
@@ -149,7 +149,7 @@ pub unsafe extern "C" fn parsec_provider_kmgmt_has(
149
Arc::increment_strong_count(keydata as *const RwLock<ParsecProviderKeyObject>);
150
let key_data = Arc::from_raw(keydata as *const RwLock<ParsecProviderKeyObject>);
151
let reader_key_data = key_data.read().unwrap();
152
- if reader_key_data.key_name.is_some() {
+ if reader_key_data.get_key_name().is_some() {
153
Ok(OPENSSL_SUCCESS)
154
} else {
155
Err("key name has not been set.".into())
0 commit comments