From 44182110cf55f83da4b2022e58db2f691604e98b Mon Sep 17 00:00:00 2001 From: "jihwan.seo" Date: Tue, 22 Nov 2016 14:05:16 +0900 Subject: [PATCH] remove unused callback method in securityinterface.h Change-Id: I2f1118de1217f61a8d0c7aa820bf27d0ef14773b Signed-off-by: jihwan.seo Reviewed-on: https://gerrit.iotivity.org/gerrit/14597 Tested-by: jenkins-iotivity Reviewed-by: Dmitriy Zhuravlev Reviewed-by: Joonghwan Lee Reviewed-by: Chul Lee Reviewed-by: Ashok Babu Channa --- resource/csdk/connectivity/api/casecurityinterface.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/resource/csdk/connectivity/api/casecurityinterface.h b/resource/csdk/connectivity/api/casecurityinterface.h index 9b0b5e9..88b8e92 100644 --- a/resource/csdk/connectivity/api/casecurityinterface.h +++ b/resource/csdk/connectivity/api/casecurityinterface.h @@ -104,11 +104,12 @@ typedef struct } PkiInfo_t; /** - * Register callback to receive credential types. - * @param[in] credTypesCallback callback to get cerdential types - * @return ::CA_STATUS_OK + * Register callback to get types of TLS suites. + * @param[in] getCredTypesHandler Get types of TLS suites callback. + * @return ::CA_STATUS_OK or appropriate error code. */ -CAResult_t CAregisterGetCredentialTypesCallback(CAgetCredentialTypesHandler credTypesCallback); +CAResult_t CAregisterGetCredentialTypesHandler(CAgetCredentialTypesHandler getCredTypesHandler); + /** * Register callback to receive the result of TLS handshake. * @param[in] tlsHandshakeCallback callback for get tls handshake result @@ -138,12 +139,6 @@ typedef void (*CAgetPkixInfoHandler)(PkiInfo_t * inf); * @return ::CA_STATUS_OK or appropriate error code. */ CAResult_t CAregisterPkixInfoHandler(CAgetPkixInfoHandler getPkixInfoHandler); -/** - * Register callback to get types of TLS suites. - * @param[in] getCredTypesHandler Get types of TLS suites callback. - * @return ::CA_STATUS_OK or appropriate error code. - */ -CAResult_t CAregisterGetCredentialTypesHandler(CAgetCredentialTypesHandler getCredTypesHandler); /** * Select the cipher suite for dtls handshake. -- 2.7.4