Add ifdef the code which utilizes TLS-supported APIs
authorHeewon Park <h_w.park@samsung.com>
Fri, 2 Sep 2016 05:33:37 +0000 (14:33 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 5 Sep 2016 09:45:57 +0000 (09:45 +0000)
commit7c92c082821019cfc15fad23789c7e215fb64db2
tree248a1cbedcf01bc7f065c3adefbb6eac44a1e618
parentc6b139fcc67f16e5107cdd4b5d2db7552ce54292
Add ifdef the code which utilizes TLS-supported APIs

provisionTrustCertChain API of Provisioning Manager is ONLY defined where TLS is supported. In easy setup, that API is used for transferring a certificate to Enrollee. So if TLS is not supported, this procedure SHOULD be skiped and not defined, even.

Change-Id: I2006d2025c794aab616cea8fb3e6144cace86b49
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11263
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.cpp
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.h
service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp