Skip to content

Commit

Permalink
Flag oic.wk.introspection as OC_SECURE
Browse files Browse the repository at this point in the history
Change-Id: I34d3238d7621dc8a958170d1ff313928ce474ef1
Signed-off-by: Kishen Maloor <[email protected]>
Reviewed-on: https://gerrit.iotivity.org/gerrit/27581
Tested-by: IoTivity Jenkins <[email protected]>
  • Loading branch information
kmaloor committed Nov 27, 2018
1 parent 3f1e689 commit c7d1754
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/oc_introspection.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,10 @@ oc_create_introspection_resource(size_t device)
{
OC_DBG("oc_introspection: Initializing introspection resource");

oc_core_populate_resource(OCF_INTROSPECTION_WK, device, "oc/wk/introspection",
OC_IF_R | OC_IF_BASELINE, OC_IF_R, OC_DISCOVERABLE,
oc_core_introspection_wk_handler, 0, 0, 0, 1,
"oic.wk.introspection");
oc_core_populate_resource(
OCF_INTROSPECTION_WK, device, "oc/wk/introspection",
OC_IF_R | OC_IF_BASELINE, OC_IF_R, OC_SECURE | OC_DISCOVERABLE,
oc_core_introspection_wk_handler, 0, 0, 0, 1, "oic.wk.introspection");
oc_core_populate_resource(OCF_INTROSPECTION_DATA, device, "oc/introspection",
OC_IF_BASELINE, OC_IF_BASELINE, 0,
oc_core_introspection_data_handler, 0, 0, 0, 1,
Expand Down

0 comments on commit c7d1754

Please sign in to comment.