Fix license response default values error in CreateCoreLicenseResponse
PiperOrigin-RevId: 529588784 Merged from https://widevine-internal-review.googlesource.com/174260 # Conflicts: # oemcrypto/odk/include/odk_structs.h Change-Id: I96f348bfc9b5be7113ddb2af18a38c36d337697c
This commit is contained in:
@@ -19,7 +19,7 @@ extern "C" {
|
|||||||
#define ODK_MINOR_VERSION 2
|
#define ODK_MINOR_VERSION 2
|
||||||
|
|
||||||
/* ODK Version string. Date changed automatically on each release. */
|
/* ODK Version string. Date changed automatically on each release. */
|
||||||
#define ODK_RELEASE_DATE "ODK v18.2 2023-04-18"
|
#define ODK_RELEASE_DATE "ODK v18.2 2023-05-05"
|
||||||
|
|
||||||
/* The lowest version number for an ODK message. */
|
/* The lowest version number for an ODK message. */
|
||||||
#define ODK_FIRST_VERSION 16
|
#define ODK_FIRST_VERSION 16
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ bool CreateCoreLicenseResponse(const CoreMessageFeatures& features,
|
|||||||
const std::string& core_request_sha256,
|
const std::string& core_request_sha256,
|
||||||
std::string* oemcrypto_core_message) {
|
std::string* oemcrypto_core_message) {
|
||||||
ODK_LicenseResponse license_response{
|
ODK_LicenseResponse license_response{
|
||||||
{}, const_cast<ODK_ParsedLicense*>(&parsed_lic)};
|
{}, const_cast<ODK_ParsedLicense*>(&parsed_lic), {}};
|
||||||
if (!CreateResponseHeader(features, ODK_License_Response_Type,
|
if (!CreateResponseHeader(features, ODK_License_Response_Type,
|
||||||
&license_response.core_message, core_request)) {
|
&license_response.core_message, core_request)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user