Show which SSL variant is used.
Removed some more redundant NULL pointer checks.
Don't dereferernce the result. This should be a simple NULL pointer check.