Add SSL host validation check to X509_V_OK code path
authorBill Blough <billblough@apache.org>
Sun, 1 Sep 2019 19:46:00 +0000 (19:46 +0000)
committerBill Blough <billblough@apache.org>
Sun, 1 Sep 2019 19:46:00 +0000 (19:46 +0000)
commit2eee4d21047f4ba69cda4b362641c4ec7c764c45
tree2d193c05a0534183a0e1d09725e1cc01455f5254
parent04cbb69f6afb61d4952517ff6db0657e9da7e528
Add SSL host validation check to X509_V_OK code path

Based on the man page for SSL_get_verify_result, a good certificate
verification can result in X509_V_OK.  In this case, the previously
added peer host name validation would not happen.  So add it to this
case, too.
src/core/transport/http/sender/ssl/ssl_utils.c