From 5232c51e33dc2b61d8b8a7414063696e8aaac49b Mon Sep 17 00:00:00 2001 From: Fred Gylys-Colwell Date: Mon, 27 Jun 2022 07:16:03 -0700 Subject: [PATCH] OEMCrypto v17.1 The previous commit had a v17.2 change in it that is not needed for v17.1 --- oemcrypto/odk/include/odk_structs.h | 2 +- oemcrypto/odk/src/odk.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/oemcrypto/odk/include/odk_structs.h b/oemcrypto/odk/include/odk_structs.h index 24ca23e..fba3c3a 100644 --- a/oemcrypto/odk/include/odk_structs.h +++ b/oemcrypto/odk/include/odk_structs.h @@ -19,7 +19,7 @@ extern "C" { #define ODK_MINOR_VERSION 1 /* ODK Version string. Date changed automatically on each release. */ -#define ODK_RELEASE_DATE "ODK v17.1 2022-06-21" +#define ODK_RELEASE_DATE "ODK v17.1 2022-06-17" /* The lowest version number for an ODK message. */ #define ODK_FIRST_VERSION 16 diff --git a/oemcrypto/odk/src/odk.c b/oemcrypto/odk/src/odk.c index 204db18..4f28389 100644 --- a/oemcrypto/odk/src/odk.c +++ b/oemcrypto/odk/src/odk.c @@ -466,9 +466,6 @@ OEMCryptoResult ODK_ParseProvisioning( if (err != OEMCrypto_SUCCESS) { return err; } - if (parsed_response->key_type != 0 && parsed_response->key_type != 1) { - return ODK_ERROR_CORE_MESSAGE; - } ODK_ProvisioningResponse provisioning_response = {0}; provisioning_response.parsed_provisioning = parsed_response;