diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2017-02-06 18:38:06 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2017-02-06 18:38:06 +0300 |
commit | 9af7dc2b44acb388f27e492ddc82116d082d02ab (patch) | |
tree | 79e6dbaa57480bf4a0c7dc062eed12a5ff95271b /src/http/ngx_http_request.h | |
parent | 4abafc85d612f3348c38e5294124f27a2e4681df (diff) | |
download | nginx-9af7dc2b44acb388f27e492ddc82116d082d02ab.tar.gz nginx-9af7dc2b44acb388f27e492ddc82116d082d02ab.zip |
SSL: clear error queue after OPENSSL_init_ssl().
The function may leave error in the error queue while returning success,
e.g., when taking a DSO reference to itself as of OpenSSL 1.1.0d:
https://git.openssl.org/?p=openssl.git;a=commit;h=4af9f7f
Notably, this fixes alert seen with statically linked OpenSSL on some platforms.
While here, check OPENSSL_init_ssl() return value.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions