Add timeout into checking invalid input condition
authorjs126.lee <js126.lee@samsung.com>
Fri, 18 Mar 2016 06:40:08 +0000 (15:40 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 18 Mar 2016 09:48:34 +0000 (09:48 +0000)
commit32e09bd420cd5ae7657ed5a9828b8aa93339d738
treeda4e7bccc4a858d6edc3388bc75e9595652709e4
parent46cb2780e3ae9b24971d5f8408ab8c43607d9148
Add timeout into checking invalid input condition

- Patch 1: If timeout is 0, return error.
- Patch 2: Add unittest
- Patch 3: Modify file mode

Change-Id: I571615ffe4d00dc1feff94d9b39525eabc75d215
Signed-off-by: js126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6061
Reviewed-by: Yonggoo Kang <ygace.kang@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit 92a40d711d88dddba9476640e8b8204c2f60b0ba)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6069
Tested-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/provisioning/src/ocprovisioningmanager.c
resource/csdk/security/provisioning/unittest/ocprovisioningmanager.cpp