fixed comments

This commit is contained in:
Guenter Obiltschnig
2014-11-21 09:05:25 +01:00
parent bc0978d01e
commit 3b31772717

View File

@@ -95,7 +95,7 @@ bool X509Certificate::verify(const Poco::Crypto::X509Certificate& certificate, c
{ {
try try
{ {
// two cases: strData contains wildcards or not // two cases: name contains wildcards or not
if (containsWildcards(*it)) if (containsWildcards(*it))
{ {
// a compare by IPAddress is not possible with wildcards // a compare by IPAddress is not possible with wildcards
@@ -104,7 +104,7 @@ bool X509Certificate::verify(const Poco::Crypto::X509Certificate& certificate, c
} }
else 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; IPAddress ip;
if (IPAddress::tryParse(hostName, ip)) if (IPAddress::tryParse(hostName, ip))
{ {