From 3b41f60765f1a2998caa9b41db7c9720c67c7fe2 Mon Sep 17 00:00:00 2001 From: matthewstevenson88 <52979934+matthewstevenson88@users.noreply.github.com> Date: Fri, 9 Feb 2024 19:35:39 +0000 Subject: [PATCH] Automated change: Fix sanity tests --- src/core/lib/security/security_connector/load_system_roots.h | 2 +- .../security/security_connector/load_system_roots_windows.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lib/security/security_connector/load_system_roots.h b/src/core/lib/security/security_connector/load_system_roots.h index ced4f400b24ea..36303d979d143 100644 --- a/src/core/lib/security/security_connector/load_system_roots.h +++ b/src/core/lib/security/security_connector/load_system_roots.h @@ -25,7 +25,7 @@ namespace grpc_core { -// TODO(matthewstevenson88): Update LoadSystemRootCerts to use grpc_core::Slice +// TODO(matthewstevenson88): Update LoadSystemRootCerts to use Slice // instead of grpc_slice. // Returns a slice containing roots from the OS trust store diff --git a/src/core/lib/security/security_connector/load_system_roots_windows.cc b/src/core/lib/security/security_connector/load_system_roots_windows.cc index e59419b37174e..280d090041081 100644 --- a/src/core/lib/security/security_connector/load_system_roots_windows.cc +++ b/src/core/lib/security/security_connector/load_system_roots_windows.cc @@ -43,7 +43,7 @@ std::string Utf8Encode(const std::wstring& wstr) { if (wstr.empty()) return ""; int size_needed = WideCharToMultiByte(CP_UTF8, 0, &wstr[0], (int)wstr.size(), - NULL, 0, NULL, NULL); + NULL, 0, NULL, NULL); std::string str_to(size_needed, 0); WideCharToMultiByte(CP_UTF8, 0, &wstr[0], (int)wstr.size(), &str_to[0], size_needed, NULL, NULL);