Commit f684e2d2 authored by Kishen Maloor's avatar Kishen Maloor

oc_tls:set peer UUID in read_application_data_tcp

Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent 13a474b3
Pipeline #1264 passed with stage
in 5 minutes and 58 seconds
......@@ -1894,6 +1894,8 @@ read_application_data_tcp(oc_tls_peer_t *peer)
peer->processed_recv_message->length == total_length) {
OC_DBG("oc_tls_tcp: Decrypted incoming message %d",
(int)(total_length));
peer->processed_recv_message->encrypted = 0;
memcpy(peer->processed_recv_message->endpoint.di.id, peer->uuid.id, 16);
if (oc_process_post(&coap_engine, oc_events[INBOUND_RI_EVENT],
peer->processed_recv_message) ==
OC_PROCESS_ERR_FULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment