[IOT-2359][IOT-2360][IOT-2364] Separate provisioning with DOS 87/20387/9 1.3.0
authorDmitriy Zhuravlev <d.zhuravlev@samsung.com>
Thu, 25 May 2017 12:03:12 +0000 (15:03 +0300)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 26 May 2017 03:41:26 +0000 (03:41 +0000)
commita532ef729f3d4836975615583b2d8c8a9de63c21
tree5cc25dcd4efed1bf0af8ec1fa86c1f5a05a509d3
parent485293debc12316f77f1a04b2f51eef609ff3be7
[IOT-2359][IOT-2360][IOT-2364] Separate provisioning with DOS

Restore functions removed in https://gerrit.iotivity.org/gerrit/#/c/19931/
Add NULL checking for pDev2 in SRPProvisionCredentialsDos

Change-Id: Icf3397247478c97c7029380aadcaa5dd89b42870
Signed-off-by: Dmitriy Zhuravlev <d.zhuravlev@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20387
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: Jongmin Choi <jminl.choi@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/provisioning/include/internal/secureresourceprovider.h
resource/csdk/security/provisioning/src/ocprovisioningmanager.c
resource/csdk/security/provisioning/src/secureresourceprovider.c