tpm.c exit.reply verification

This commit is contained in:
David Rocha 2025-06-02 22:32:50 +00:00
parent f1aedd9239
commit 061a9a4c28
1 changed files with 4 additions and 4 deletions

View File

@ -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: