tpm.c exit.reply verification
This commit is contained in:
parent
f1aedd9239
commit
061a9a4c28
|
|
@ -1123,10 +1123,10 @@ static int veh_handle_recv(tolling_t* tolling, EI1_TPM_t* tpm_rx, void** securit
|
||||||
EI1_TollingType_PR_exit, tolling->station.obu.toll_type);
|
EI1_TollingType_PR_exit, tolling->station.obu.toll_type);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
client_id = type_rx->choice.exit->choice.reply.clientId;
|
client_id = type_rx->choice.exit.choice.reply.clientId;
|
||||||
nonce = type_rx->choice.exit->choice.reply.transactionNonce;
|
nonce = type_rx->choice.exit.choice.reply.transactionNonce;
|
||||||
info_id = type_rx->choice.exit->choice.reply.infoId;
|
info_id = type_rx->choice.exit.choice.reply.infoId;
|
||||||
confirmation_code = type_rx->choice.exit->choice.reply.confirmationCode;
|
confirmation_code = type_rx->choice.exit.choice.reply.confirmationCode;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EI1_TollingType_PR_single:
|
case EI1_TollingType_PR_single:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue