mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 13:47:10 +01:00
fixed comments
This commit is contained in:
@@ -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))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user