More ssl checks fixing gentoo bug 489226
https://bugs.gentoo.org/show_bug.cgi?id=489226