Merge "Added new error code OEMCrypto_ERROR_INVALID_KEY."

This commit is contained in:
Alex Dale
2021-11-17 05:11:42 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 2 deletions

View File

@@ -1192,7 +1192,10 @@ void PrintTo(const enum OEMCryptoResult& value, ::std::ostream* os) {
*os << "OEMCrypto_ERROR_INVALID_ENTITLED_KEY_SESSION";
break;
case OEMCrypto_ERROR_NEEDS_KEYBOX_PROVISIONING:
*os << "ERROR_NEEDS_KEYBOX_PROVISIONING";
*os << "NEEDS_KEYBOX_PROVISIONING";
break;
case OEMCrypto_ERROR_INVALID_KEY:
*os << "INVALID_KEY";
break;
// ODK Values.
case ODK_ERROR_CORE_MESSAGE: