assign cid tpid and nonce when protocol != gndpki
This commit is contained in:
parent
3ca573b344
commit
e97025727a
|
|
@ -493,6 +493,9 @@ static int rsu_handle_recv(EI1_TPM_t* tpm_rx, void** security_socket, uint8_t* n
|
|||
|
||||
if (tolling->protocol.p != TOLLING_PROTOCOL_GN_DPKI) {
|
||||
log_warn("[tolling] cannot cryptographically verify entryProof in mode different than GN-DPKI");
|
||||
client_id = type_rx->choice.exit->choice.request->clientId;
|
||||
nonce = type_rx->choice.exit->choice.request->transactionNonce;
|
||||
info_id = type_rx->choice.exit->choice.request->infoId;
|
||||
} else {
|
||||
client_id = type_rx->choice.exit->choice.request->clientId;
|
||||
nonce = type_rx->choice.exit->choice.request->transactionNonce;
|
||||
|
|
|
|||
Loading…
Reference in New Issue