From e0bf553f43f3c070798d0057f46f6843786d25b1 Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 3 May 2024 12:29:00 +0200 Subject: [PATCH] Fix typo --- cpp/include/Ice/ClientAuthenticationOptions.h | 6 +++--- cpp/src/Ice/Network.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/include/Ice/ClientAuthenticationOptions.h b/cpp/include/Ice/ClientAuthenticationOptions.h index 2ca27b70b7e..ed152ca6874 100644 --- a/cpp/include/Ice/ClientAuthenticationOptions.h +++ b/cpp/include/Ice/ClientAuthenticationOptions.h @@ -96,8 +96,8 @@ namespace Ice::SSL * server's certificate chain is validated against these certificates; otherwise, the system's default root * certificates are used. * - * @remarks The trusted root certificates are used by both the default validation callback, and by custom - * validation callback set in clientCertificateValidationCallback. + * @remarks The trusted root certificates are only used by the default validation callback; they are ignored by + * custom validation callbacks set with serverCertificateValidationCallback. * * Example of setting trustedRootCertificates: * ```cpp @@ -209,7 +209,7 @@ namespace Ice::SSL * certificates are used. * * @remarks The trusted root certificates are used by both the default validation callback, and by custom - * validation callback set in clientCertificateValidationCallback. + * validation callback set in serverCertificateValidationCallback. * * This is equivalent to calling * [SecTrustSetAnchorCertificates](https://developer.apple.com/documentation/security/1396098-sectrustsetanchorcertificates?language=objc) diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index 8339da2e4a3..1529e5a3da2 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -2170,7 +2170,7 @@ IceInternal::doFinishConnectAsync(SOCKET fd, AsyncInfo& info) #endif bool -IceInternal::misIpAddress(const string& name) +IceInternal::isIpAddress(const string& name) { in_addr addr; in6_addr addr6;