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:
Vicky Min
2023-05-04 20:10:50 -07:00
committed by Robert Shih
parent f71014507d
commit 6c953ab651
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ extern "C" {
#define ODK_MINOR_VERSION 2
/* 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. */
#define ODK_FIRST_VERSION 16

View File

@@ -121,7 +121,7 @@ bool CreateCoreLicenseResponse(const CoreMessageFeatures& features,
const std::string& core_request_sha256,
std::string* oemcrypto_core_message) {
ODK_LicenseResponse license_response{
{}, const_cast<ODK_ParsedLicense*>(&parsed_lic)};
{}, const_cast<ODK_ParsedLicense*>(&parsed_lic), {}};
if (!CreateResponseHeader(features, ODK_License_Response_Type,
&license_response.core_message, core_request)) {
return false;