mirror of https://github.com/ARMmbed/mbed-os.git
TF-M patch: Fix wrong check in tfm_spm_check_client_version (TF-M issue #236)
- Link to bug tracking: https://developer.trustedfirmware.org/T236pull/9653/head
parent
da01e3411f
commit
008bf1b2d1
|
@ -272,7 +272,7 @@ int32_t tfm_spm_check_client_version(struct tfm_spm_service_t *service,
|
||||||
|
|
||||||
switch (service->service_db->minor_policy) {
|
switch (service->service_db->minor_policy) {
|
||||||
case TFM_VERSION_POLICY_RELAXED:
|
case TFM_VERSION_POLICY_RELAXED:
|
||||||
if (minor_version < service->service_db->minor_version) {
|
if (minor_version > service->service_db->minor_version) {
|
||||||
return IPC_ERROR_VERSION;
|
return IPC_ERROR_VERSION;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue