mirror of
https://github.com/nginx/nginx.git
synced 2026-06-28 04:41:54 +00:00
SSL: fixed build with OpenSSL 0.9.7.
SSL_get_rbio() and SSL_get_wbio() functions used to get non-const pointer in OpenSSL 0.9.7, hence an explicit cast added to drop const qualifier.
This commit is contained in:
parent
5a63dcc5d7
commit
87a607a031
1 changed files with 2 additions and 2 deletions
|
|
@ -548,8 +548,8 @@ ngx_ssl_info_callback(const ngx_ssl_conn_t *ssl_conn, int where, int ret)
|
|||
* added to wbio, and set buffer size.
|
||||
*/
|
||||
|
||||
rbio = SSL_get_rbio(ssl_conn);
|
||||
wbio = SSL_get_wbio(ssl_conn);
|
||||
rbio = SSL_get_rbio((ngx_ssl_conn_t *) ssl_conn);
|
||||
wbio = SSL_get_wbio((ngx_ssl_conn_t *) ssl_conn);
|
||||
|
||||
if (rbio != wbio) {
|
||||
(void) BIO_set_write_buffer_size(wbio, NGX_SSL_BUFSIZE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue