Use OpenSSL's hostname validation if available.
As of version 1.0.2, OpenSSL can finally do automatic hostname validation for us. Their implementation is likely to have received much better review than ours, and there are other good reasons to prefer it, so use it when we can.
Loading
Please register or sign in to comment