ssl_verify: Do not check IP if we fail to resolve it
There's no point on checking an empty IP address, an IP address is never empty. This also solve some compiler warnings trying to possibly pass a NULL pointer to memcmp or setting a variable without reading it.
Signed-off-by: Frediano Ziglio freddy77@gmail.com