check if info_id is known on rsu tpm recv
This commit is contained in:
parent
e97025727a
commit
b25c47fba2
|
|
@ -615,6 +615,12 @@ static int rsu_handle_recv(EI1_TPM_t* tpm_rx, void** security_socket, uint8_t* n
|
|||
break;
|
||||
}
|
||||
|
||||
for (int i = 0; i < facilities.tolling.infos.length; i++) {
|
||||
if (info_id != facilities.tolling->z[i].asn->id) {
|
||||
log_warn("[tolling] received TPM has unkown info_id");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
asn_enc_rval_t enc;
|
||||
EIS_NetworkingRequest_t* nr = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue