Resolved security issues - IOT-1058 & IOT-1059
authorJoonghwan Lee <jh05.lee@samsung.com>
Thu, 31 Mar 2016 07:10:17 +0000 (16:10 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 1 Apr 2016 04:16:36 +0000 (04:16 +0000)
commit8c24c26ea91e57983b03cf03b8ebe10968abe5d4
tree75a67efab92567d087852547f8e9d483a5733491
parentcaffffb59a516d3f1c633f4d3050e90ecb1a0dae
Resolved security issues - IOT-1058 & IOT-1059

https://jira.iotivity.org/browse/IOT-1058
[PM] [C] [Linux] [API] OCProvisionDirectPairing Fails to Provision Direct Pairing

https://jira.iotivity.org/browse/IOT-1059
[PM] [C] [Linux] [API] OCDoDirectPairing returns OC_STACK_INVALID_PARAM instead of OC_STACK_CALLBACK while resultCallback= NULL

-Patch 1: Resolved security Issues on 1.1.0-RC2
-Patch 2: Fix the expected value of OCDoDirectPairingTests.NullCallback in the stack unit test

Change-Id: I82cd3f855eeda1a65596984804fc8f1ce10cb79f
Signed-off-by: Joonghwan Lee <jh05.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7479
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jongsung Lee <js126.lee@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/provisioning/src/secureresourceprovider.c
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/test/stacktests.cpp [changed mode: 0755->0644]