Change-Id: If0a7be512046ab14e7539a6ad2d03a3078d98550
Signed-off-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13787
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
key.data = keyData;
key.len = sizeof(keyData);
+ //This test case cannot succeed. because doxm resource has not been initialized.
result = SRPSaveOwnCertChain(&cert, &key, &credId);
- EXPECT_EQ(OC_STACK_OK, result);
+ EXPECT_EQ(OC_STACK_ERROR, result);
}
TEST_F(SRPTest, SRPSaveOwnCertChainTestNullCert)