diff --git a/keystore2/src/security_level.rs b/keystore2/src/security_level.rs index 365f8dac..5cb3afcd 100644 --- a/keystore2/src/security_level.rs +++ b/keystore2/src/security_level.rs @@ -914,7 +914,7 @@ impl KeystoreSecurityLevel { "In convert_storage_key_to_ephemeral: calling convertStorageKeyToEphemeral (2)", 500, ); - map_km_error(km_dev.convertStorageKeyToEphemeral(key_blob)) + map_km_error(km_dev.convertStorageKeyToEphemeral(&upgraded_blob)) } .context(concat!( "In convert_storage_key_to_ephemeral: ",