summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2018-05-20 17:24:30 -0400
committerDavid Benjamin <davidben@google.com>2018-05-24 15:49:33 -0400
commit1ae891c6b15e28b280845858326fb50ea5b61ac7 (patch)
tree92b3941bbc56e8dc39dc339e26cb1661543b7e5d /.travis.yml
parent926b21117df939241f1cd63f2f9e3ab87819f0ed (diff)
Save and restore the Windows error around TlsGetValue.
TlsGetValue clears the last error even on success, so that callers may distinguish it successfully returning NULL or failing. This error-mangling behavior interferes with the caller's use of GetLastError. In particular SSL_get_error queries the error queue to determine whether the caller should look at the OS's errors. To avoid destroying state, save and restore the Windows error. Fixes #6299. Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit 2de108dfa343c3e06eb98beb122cd06306bb12fd) (Merged from https://github.com/openssl/openssl/pull/6349)
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions