mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 14:24:35 +01:00
fixed comments
This commit is contained in:
parent
bc0978d01e
commit
3b31772717
@ -95,7 +95,7 @@ bool X509Certificate::verify(const Poco::Crypto::X509Certificate& certificate, c
|
||||
{
|
||||
try
|
||||
{
|
||||
// two cases: strData contains wildcards or not
|
||||
// two cases: name contains wildcards or not
|
||||
if (containsWildcards(*it))
|
||||
{
|
||||
// a compare by IPAddress is not possible with wildcards
|
||||
@ -104,7 +104,7 @@ bool X509Certificate::verify(const Poco::Crypto::X509Certificate& certificate, c
|
||||
}
|
||||
else
|
||||
{
|
||||
// it depends on hostName if we compare by IP or by alias
|
||||
// it depends on hostName whether we compare by IP or by alias
|
||||
IPAddress ip;
|
||||
if (IPAddress::tryParse(hostName, ip))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user