From 061a9a4c2862db186621d454c0c54cdbb2546257 Mon Sep 17 00:00:00 2001 From: David Rocha Date: Mon, 2 Jun 2025 22:32:50 +0000 Subject: [PATCH] tpm.c exit.reply verification --- src/tpm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tpm.c b/src/tpm.c index 22308f3..6e429a9 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: