From 988a8c461167bb72a0a07f6180f69eae65043bdf Mon Sep 17 00:00:00 2001 From: oh_ci Date: Fri, 11 Jul 2025 07:37:31 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!3612=20?= =?UTF-8?q?:=20=E6=96=B0=E5=A2=9EOH=5FNetstack=5FIsCleartextCfgByComponent?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- network/netssl/include/net_ssl_c.h | 15 --------------- network/netssl/libnet_ssl_c.json | 4 ---- 2 files changed, 19 deletions(-) diff --git a/network/netssl/include/net_ssl_c.h b/network/netssl/include/net_ssl_c.h index 9d0336d1f..15d86407a 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 9bf9f66d1..4336fd70a 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" } ] -- Gitee