diff --git a/network/netssl/include/net_ssl_c.h b/network/netssl/include/net_ssl_c.h index 9d0336d1ff4a48ed694f2d127db24ae8ea3eb1de..15d86407af31f76d38115ec32d6e9ed0a26a0aa6 100644 --- a/network/netssl/include/net_ssl_c.h +++ b/network/netssl/include/net_ssl_c.h @@ -137,21 +137,6 @@ int32_t OH_Netstack_IsCleartextPermitted(bool *isCleartextPermitted); */ int32_t OH_Netstack_IsCleartextPermittedByHostName(const char *hostname, bool *isCleartextPermitted); - -/** - * @brief Checks whether the component is configured for Cleartext traffic interception. - * - * @return 0 - Success. - * 202 - Non-system applications use system APIs. - * 2100001 - Invalid parameter value. - * @param component Indicates the component name. - * @param componentCfg Indicates output parameter, - * {@code true} if the component is configured for Cleartext traffic interception, {@code false} otherwise. - * @systemapi Hide this for inner system use. - * @since 20 - */ -int32_t OH_Netstack_IsCleartextCfgByComponent(const char *component, bool *componentCfg) - #ifdef __cplusplus } #endif diff --git a/network/netssl/libnet_ssl_c.json b/network/netssl/libnet_ssl_c.json index 9bf9f66d131e28653ffdc8daaaa29b52f7f72e13..4336fd70a34482a4ad1d7740f228abca28576ae3 100644 --- a/network/netssl/libnet_ssl_c.json +++ b/network/netssl/libnet_ssl_c.json @@ -22,9 +22,5 @@ { "first_introduced":"18", "name": "OH_Netstack_IsCleartextPermittedByHostName" - }, - { - "first_introduced":"20", - "name": "OH_Netstack_IsCleartextCfgByComponent" } ]