Apply security to test program 81/84181/3
authoryoungman <yman.jung@samsung.com>
Wed, 17 Aug 2016 06:56:07 +0000 (15:56 +0900)
committeryoungman <yman.jung@samsung.com>
Thu, 18 Aug 2016 08:13:04 +0000 (17:13 +0900)
Change-Id: I42f92037f3ebec86ed390c3db506757d2bea5b99
Signed-off-by: youngman <yman.jung@samsung.com>
test/iotcon-test-basic-client.c
test/iotcon-test-svr-db-client.dat
test/iotcon-test-svr-db-server.dat

index 35519e7..e29389e 100644 (file)
@@ -182,7 +182,7 @@ static void _on_response_post(iotcon_remote_resource_h resource,
        }
 
        ret = iotcon_remote_resource_create(host, connectivity_type, created_uri_path,
-                       IOTCON_RESOURCE_NO_POLICY, types, ifaces, &new_door_resource);
+                       IOTCON_RESOURCE_SECURE, types, ifaces, &new_door_resource);
        if (IOTCON_ERROR_NONE != ret) {
                ERR("iotcon_remote_resource_create() Fail(%d)", ret);
                return;
index 39e731e..0abd136 100644 (file)
Binary files a/test/iotcon-test-svr-db-client.dat and b/test/iotcon-test-svr-db-client.dat differ
index 8492511..2f5922b 100644 (file)
Binary files a/test/iotcon-test-svr-db-server.dat and b/test/iotcon-test-svr-db-server.dat differ