diff --git a/src/tpm.c b/src/tpm.c index 6e429a9..22308f3 100644 --- a/src/tpm.c +++ b/src/tpm.c @@ -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); return 1; } - client_id = type_rx->choice.exit.choice.reply.clientId; - nonce = type_rx->choice.exit.choice.reply.transactionNonce; - info_id = type_rx->choice.exit.choice.reply.infoId; - confirmation_code = type_rx->choice.exit.choice.reply.confirmationCode; + client_id = type_rx->choice.exit->choice.reply.clientId; + nonce = type_rx->choice.exit->choice.reply.transactionNonce; + info_id = type_rx->choice.exit->choice.reply.infoId; + confirmation_code = type_rx->choice.exit->choice.reply.confirmationCode; break; case EI1_TollingType_PR_single: