fixing compiler warnings
Merge pull request #3 from derjus/ssl-cert-check

fixing compiler warnings