Commit 8b85e3b4 authored by js126.lee's avatar js126.lee Committed by Randeep

Resolved Svace defect on Security folder

-Patch 1: Resolve svase defect on security folder
-Patch 2: Apply Mr.Kang's comment

Change-Id: I4c020c4081121852de0c3623f53a177fd2b474c9
Signed-off-by: default avatarjs126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6319Reviewed-by: default avatarYonggoo Kang <ygace.kang@samsung.com>
Reviewed-by: default avatarDmitriy Zhuravlev <d.zhuravlev@samsung.com>
Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep's avatarRandeep Singh <randeep.s@samsung.com>
parent 59e762d8
......@@ -502,6 +502,7 @@ PKIError GetCertificateRevocationList (ByteArray *certificateRevocationList)
CHECK_COND(g_crlInfo.CrlData.data, ISSUER_CA_STORAGE_CRL_UNDEFINED);
CHECK_NULL_BYTE_ARRAY_PTR(certificateRevocationList, ISSUER_CA_STORAGE_NULL_PASSED);
tmpCRL = (OicSecCrl_t *)GetCRLResource();
CHECK_NULL(tmpCRL, ISSUER_CA_STORAGE_NULL_PASSED);
g_crlInfo.CrlId = tmpCRL->CrlId;
g_crlInfo.CrlData = tmpCRL->CrlData;
g_crlInfo.ThisUpdate = tmpCRL->ThisUpdate;
......
......@@ -634,7 +634,6 @@ OCStackResult SRPProvisionCredentials(void *ctx, OicSecCredType_t type, size_t k
{
VERIFY_NON_NULL(TAG, pDev2, ERROR, OC_STACK_INVALID_PARAM);
}
VERIFY_NON_NULL(TAG, resultCallback, ERROR, OC_STACK_INVALID_CALLBACK);
if (!resultCallback)
{
OIC_LOG(INFO, TAG, "SRPUnlinkDevices : NULL Callback");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment