Commit f2707a37 authored by Kishen Maloor's avatar Kishen Maloor

oc_obt_otm_*: fix syntax

Change-Id: Ic6c40d83e15e146247461034e44816de2e94b8c0
Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent 180aa89d
......@@ -468,7 +468,7 @@ obt_cert_5(oc_client_response_t *data)
/** 5) generate random deviceuuid; <store new peer uuid>; post doxm deviceuuid
*/
oc_uuid_t dev_uuid = { 0 };
oc_uuid_t dev_uuid = { { 0 } };
oc_gen_uuid(&dev_uuid);
char uuid[OC_UUID_LEN];
oc_uuid_to_str(&dev_uuid, uuid, OC_UUID_LEN);
......
......@@ -467,7 +467,7 @@ obt_jw_5(oc_client_response_t *data)
/** 5) generate random deviceuuid; <store new peer uuid>; post doxm deviceuuid
*/
oc_uuid_t dev_uuid = { 0 };
oc_uuid_t dev_uuid = { { 0 } };
oc_gen_uuid(&dev_uuid);
char uuid[OC_UUID_LEN];
oc_uuid_to_str(&dev_uuid, uuid, OC_UUID_LEN);
......
......@@ -468,7 +468,7 @@ obt_rdp_3(oc_client_response_t *data)
/** 3) generate random deviceuuid; <store new peer uuid>; post doxm deviceuuid
*/
oc_uuid_t dev_uuid = { 0 };
oc_uuid_t dev_uuid = { { 0 } };
oc_gen_uuid(&dev_uuid);
char uuid[OC_UUID_LEN];
oc_uuid_to_str(&dev_uuid, uuid, OC_UUID_LEN);
......
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