mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 19:25:53 +02:00
Catch also NoAddressFoundException from DNS.
The certificate validation might fail on NoAddressFoundException - if the hostname from certificate could not be translated to IP address.
This commit is contained in:
@@ -124,6 +124,9 @@ bool X509Certificate::verify(const Poco::Crypto::X509Certificate& certificate, c
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (NoAddressFoundException&)
|
||||
{
|
||||
}
|
||||
catch (HostNotFoundException&)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user