diff --git a/keystore/keystore_main.cpp b/keystore/keystore_main.cpp index 02c2139a..7b7430f9 100644 --- a/keystore/keystore_main.cpp +++ b/keystore/keystore_main.cpp @@ -114,7 +114,6 @@ KeymasterDevices initializeKeymasters() { LOG(WARNING) << "No secure Keymaster implementation found, but device offers insecure" " Keymaster HAL. Using as default."; result[SecurityLevel::TRUSTED_ENVIRONMENT] = result[SecurityLevel::SOFTWARE]; - result[SecurityLevel::SOFTWARE] = nullptr; } if (!result[SecurityLevel::SOFTWARE]) { auto fbdev = android::keystore::makeSoftwareKeymasterDevice();