Fix TR TCP close encoding
This commit is contained in:
parent
abf97c2a61
commit
4caa1f5d51
|
|
@ -1024,7 +1024,7 @@ static void veh_handle_recv(tolling_t* tolling, TPM_t* tpm_rx, void* security_so
|
||||||
tr->choice.data.choice.tcp.choice.connCloseReq.id = id;
|
tr->choice.data.choice.tcp.choice.connCloseReq.id = id;
|
||||||
|
|
||||||
buf[0] = 4;
|
buf[0] = 4;
|
||||||
enc = oer_encode_to_buffer(&asn_DEF_TransportRequest, NULL, sreq, buf+1, buf_len-1);
|
enc = oer_encode_to_buffer(&asn_DEF_TransportRequest, NULL, tr, buf+1, buf_len-1);
|
||||||
it2s_tender_queue_send(tx_queue, buf, enc.encoded+1, ITSS_TRANSPORT, id, "TR.data.tcp.connClose");
|
it2s_tender_queue_send(tx_queue, buf, enc.encoded+1, ITSS_TRANSPORT, id, "TR.data.tcp.connClose");
|
||||||
|
|
||||||
free(tlsc);
|
free(tlsc);
|
||||||
|
|
@ -1257,7 +1257,7 @@ void tolling_tlsc_mgmt(tolling_t* tolling, it2s_tender_epv_t* epv, it2s_tender_q
|
||||||
tr->choice.data.choice.tcp.choice.connCloseReq.id = id;
|
tr->choice.data.choice.tcp.choice.connCloseReq.id = id;
|
||||||
|
|
||||||
buf[0] = 4;
|
buf[0] = 4;
|
||||||
enc = oer_encode_to_buffer(&asn_DEF_TransportRequest, NULL, sreq, buf+1, buf_len-1);
|
enc = oer_encode_to_buffer(&asn_DEF_TransportRequest, NULL, tr, buf+1, buf_len-1);
|
||||||
it2s_tender_queue_send(tx_queue, buf, enc.encoded+1, ITSS_TRANSPORT, id, "TR.data.tcp.connClose");
|
it2s_tender_queue_send(tx_queue, buf, enc.encoded+1, ITSS_TRANSPORT, id, "TR.data.tcp.connClose");
|
||||||
|
|
||||||
free(tlsc);
|
free(tlsc);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue