[JIRA IOT-659] fix the bug related to CACreateEndpoint
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Mon, 3 Aug 2015 04:12:10 +0000 (13:12 +0900)
committerErich Keane <erich.keane@intel.com>
Tue, 4 Aug 2015 16:03:09 +0000 (16:03 +0000)
commit02d5e16f5769ae29143351bb910239b1b7f670bf
tree85627e2fcf8bf40f5c3ec3f08e260b5542aae3f5
parent3bda1c172f20a48675a4e65d42957f1c5b5b997b
[JIRA IOT-659] fix the bug related to CACreateEndpoint

CACreateEndpoint is returning CA_STATUS_OK without CAInitialize.
so I add the CA status check logic before calling CACreateEndpoint().

Change-Id: Icd0177efbf60dee2930fce1fddbcb401d4e4a549
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2047
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: John Light <john.j.light@intel.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/src/caconnectivitymanager.c