misc
This commit is contained in:
parent
444a0c2415
commit
49d2491d57
10
src/tpm.c
10
src/tpm.c
|
|
@ -615,12 +615,16 @@ static int rsu_handle_recv(EI1_TPM_t* tpm_rx, void** security_socket, uint8_t* n
|
|||
break;
|
||||
}
|
||||
|
||||
int known_id = 0;
|
||||
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;
|
||||
if (info_id != facilities.tolling.infos.z[i]->asn->id) {
|
||||
known_id = 1;
|
||||
}
|
||||
}
|
||||
if (!known_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