mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-24 15:57:19 +01: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:
parent
b8a8b4b2ca
commit
f4465ea1e3
@ -124,6 +124,9 @@ bool X509Certificate::verify(const Poco::Crypto::X509Certificate& certificate, c
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (NoAddressFoundException&)
|
||||
{
|
||||
}
|
||||
catch (HostNotFoundException&)
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user