From 5cf6c10505d844dbd492ddebf3eec471ba426d98 Mon Sep 17 00:00:00 2001 From: Dmitriy Zhuravlev Date: Thu, 18 Aug 2016 13:00:09 +0300 Subject: [PATCH] Fix X.509 build issue Added adapter type to CASelectCipherSuite Change-Id: I1f140be0fdd5508ccc1ed64b8307a232798376cd Signed-off-by: Dmitriy Zhuravlev Reviewed-on: https://gerrit.iotivity.org/gerrit/10611 Reviewed-by: dongik Lee Reviewed-by: Jongmin Choi --- .../security/provisioning/ck_manager/sample/Door_sample.cpp | 4 ++-- .../security/provisioning/ck_manager/sample/Light_sample.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resource/csdk/security/provisioning/ck_manager/sample/Door_sample.cpp b/resource/csdk/security/provisioning/ck_manager/sample/Door_sample.cpp index 280726370..4f5db19a4 100644 --- a/resource/csdk/security/provisioning/ck_manager/sample/Door_sample.cpp +++ b/resource/csdk/security/provisioning/ck_manager/sample/Door_sample.cpp @@ -438,7 +438,7 @@ void SendGetRequest() OIC_LOG(INFO, TAG, "Send Get REQ to Light server"); //select ciphersuite for certificates - CASelectCipherSuite(TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8); + CASelectCipherSuite(TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8, CA_ADAPTER_IP); initAddress(); @@ -536,7 +536,7 @@ int main() PrintUsage(); //select ciphersuite for certificates - CASelectCipherSuite(TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8); + CASelectCipherSuite(TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8, CA_ADAPTER_IP); struct timespec timeout; timeout.tv_sec = 0; diff --git a/resource/csdk/security/provisioning/ck_manager/sample/Light_sample.cpp b/resource/csdk/security/provisioning/ck_manager/sample/Light_sample.cpp index 11c799143..2a9b1760c 100755 --- a/resource/csdk/security/provisioning/ck_manager/sample/Light_sample.cpp +++ b/resource/csdk/security/provisioning/ck_manager/sample/Light_sample.cpp @@ -303,7 +303,7 @@ int main() */ createLightResource(gResourceUri, &Light); - CASelectCipherSuite(TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8); + CASelectCipherSuite(TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8, CA_ADAPTER_IP); struct timespec timeout; timeout.tv_sec = 0; -- 2.34.1