Fix empty struct error
I added an empty ODK_ParsedRelease struct in ODK in case we want to add fields for release requests in the future but this is causing an error in C. Removing it for now. Will add it if needed for future unit tests. PiperOrigin-RevId: 581059171 Change-Id: Ic547cf3cef3cf89f503f39cff27888d77056eddc
This commit is contained in:
@@ -19,7 +19,7 @@ extern "C" {
|
||||
#define ODK_MINOR_VERSION 0
|
||||
|
||||
/* ODK Version string. Date changed automatically on each release. */
|
||||
#define ODK_RELEASE_DATE "ODK v19.0 2023-11-08"
|
||||
#define ODK_RELEASE_DATE "ODK v19.0 2023-11-10"
|
||||
|
||||
/* The lowest version number for an ODK message. */
|
||||
#define ODK_FIRST_VERSION 16
|
||||
@@ -289,16 +289,6 @@ typedef struct {
|
||||
OEMCrypto_KeyObject* key_array;
|
||||
} ODK_Packing_ParsedLicense;
|
||||
|
||||
/**
|
||||
* The parsed release structure does not currently contain information from or
|
||||
* about the license message. This struct is a placeholder for future cases
|
||||
* where data may need to be added to the parsed release.
|
||||
* @version
|
||||
* This struct is new in API version 19.
|
||||
*/
|
||||
typedef struct {
|
||||
} ODK_ParsedRelease;
|
||||
|
||||
/**
|
||||
* The parsed provisioning structure contains information from the license
|
||||
* message. The function ODK_ParseProvisioning will fill in the fields of
|
||||
|
||||
@@ -64,7 +64,6 @@ struct ODK_ReleaseResponseParams {
|
||||
uint32_t clock_security_level;
|
||||
int64_t seconds_since_license_requested;
|
||||
int64_t seconds_since_first_decrypt;
|
||||
ODK_ParsedRelease parsed_release;
|
||||
std::vector<ODK_Field> extra_fields;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user