IOT-2333 : Introspection resource should be OC_SECURE only
authorSrikrishna Gurugubelli <srikguru@microsoft.com>
Fri, 19 May 2017 23:54:58 +0000 (16:54 -0700)
committerAshok Babu Channa <ashok.channa@samsung.com>
Sat, 20 May 2017 10:06:54 +0000 (10:06 +0000)
Change-Id: I2ce16521c98eb6b2c2d131189a860da1433e74a9
Signed-off-by: Srikrishna Gurugubelli <srikguru@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20159
Reviewed-by: Alex Kelley <alexke@microsoft.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/stack/src/ocstack.c

index 5ee4991..9107781 100644 (file)
@@ -5183,7 +5183,7 @@ OCStackResult initResources()
                                   OC_RSRVD_INTROSPECTION_URI_PATH,
                                   NULL,
                                   NULL,
-                                  OC_DISCOVERABLE);
+                                  OC_DISCOVERABLE | OC_SECURE);
         if (result == OC_STACK_OK)
         {
             result = BindResourceInterfaceToResource((OCResource *)introspectionResource,