<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div><div><div>Hello,</div><div><br></div><div>I am looking for confirmation regarding the hostname validation implementation in OpenSSL 1.1.0. Is the example code at <a href="https://wiki.openssl.org/index.php/Hostname_validation">https://wiki.openssl.org/index.php/Hostname_validation</a> the correct way to do hostname validation with both 1.1.0 and 1.0.2? </div><div><br></div><div>Specifically, in order for OpenSSL 1.1.0 to automatically perform hostname checks, does the calling application need to use both X509_VERIFY_PARAM_set1_host (with the expected DNS hostname) and SSL_set_verify (with SSL_VERIFY_PEER) as is the case for OpenSSL 1.0.2?</div><div><br></div><div>Thank you.</div><div><br></div><div>Alain</div></div><div><br></div><div><div><font class="Apple-style-span" face="Calibri" size="4"><span class="Apple-style-span" style="font-size: 15px;"><b><font class="Apple-style-span" color="#FD9341">Alain Hajjar</font></b></span></font></div><div><span style="font-family: Calibri; font-size: 13px;">mobile +1 240 330 3754</span></div><div><font class="Apple-style-span" face="Calibri"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;">direct +1 443 884 6687</span></font></font></div><div><font class="Apple-style-span" face="Calibri"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></font></div><div><font class="Apple-style-span" face="Calibri"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="font-size: 14px; font-family: Calibri, sans-serif;"><font class="Apple-style-span" face="Calibri" size="4"><span class="Apple-style-span" style="font-size: 15px;"><b><font class="Apple-style-span" color="#FD9341">CyberPoint International</font></b></span></font></span></span></font></font><div><font class="Apple-style-span" face="Calibri"><font class="Apple-style-span" size="3"><font class="Apple-style-span" face="Calibri" size="3"><span class="Apple-style-span" style="font-size: 13px;"><p style="margin: 0px; font-size: 11pt; font-family: Calibri, sans-serif;">621 East Pratt Street, Suite 400</p><p style="margin: 0px; font-size: 11pt; font-family: Calibri, sans-serif;">Baltimore MD 21202-3196</p><p style="margin: 0px; font-size: 11pt; font-family: Calibri, sans-serif;">phone +1 410 779 6700</p><p style="margin: 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><a href="http://www.cyberpointllc.com/" style="color: purple;">www.cyberpointllc.com</a></p><p style="margin: 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><br></p><p style="margin: 0px; font-size: 11pt; font-family: Calibri, sans-serif;"></p><p style="margin: 0px 0px 7px; font-size: 14px; font-family: Calibri, sans-serif;"></p><hr align="center" size=""3"" width=""95%""><p style="margin-right: 0in; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"></p><div style="font-family: Calibri, sans-serif; font-size: 14px;"><font class="Apple-style-span" face="Calibri"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="font-size: 14px; font-family: Calibri, sans-serif;"><font class="Apple-style-span" face="Calibri" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="font-size: 14px; font-family: Calibri, sans-serif;"><font class="Apple-style-span" face="Calibri" size="3"><span class="Apple-style-span" style="font-size: 13px;"><p style="margin: 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span class="Apple-style-span" style="font-size: 12px;"><b>If you believe you received this e-mail in error, please notify the sender </b><b>immediately, delete the e-mail from your computer and do not copy or </b><b>disclose it to anyone else.</b></span></p><p style="margin-right: 0in; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"></p></span></font></span></span></font></span></span></font></font></div><div style="font-family: Calibri, sans-serif; font-size: 14px;"><span class="Apple-style-span" style="font-family: Calibri; font-size: 12px;">The information in this email constitutes the proprietary information of Cyber Point International, LLC, and should be accessed only by the individual to whom it is addressed. The information in this email and any attachments may not be used, copied or disclosed without the consent of CyberPoint. CyberPoint is not responsible for any damages caused by your unauthorized use of the materials in this email.</span></div></span></font></font></font></div></div></div></div></div></body></html>