diff options
author | Gaurav Malhotra <malhotrag@gmail.com> | 2018-04-03 18:11:27 +0530 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-06 14:25:00 +0200 |
commit | 2536e2450b4b0364d83c315ad2ee01b67f514db0 (patch) | |
tree | 7d53fa64b5780189fdf4498f54d137cf9854cba0 /docs/examples/sendrecv.c | |
parent | 336b6a32c0c9bec6bf6ccfc5942a3ce62ff34281 (diff) |
Revert "openssl: Don't add verify locations when verifypeer==0"
This reverts commit dc85437736e1fc90e689bb1f6c51c8f1aa9430eb.
libcurl (with the OpenSSL backend) performs server certificate verification
even if verifypeer == 0 and the verification result is available using
CURLINFO_SSL_VERIFYRESULT. The commit that is being reverted caused the
CURLINFO_SSL_VERIFYRESULT to not have useful information for the
verifypeer == 0 use case (it would always have
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY).
Closes #2451
Diffstat (limited to 'docs/examples/sendrecv.c')
0 files changed, 0 insertions, 0 deletions