comparison src/event/ngx_event_openssl.c @ 666:bf8b55a5ac89 NGINX_1_1_17

nginx 1.1.17 *) Security: content of previously freed memory might be sent to a client if backend returned specially crafted response. Thanks to Matthew Daley. *) Bugfix: in the embedded perl module if used from SSI. Thanks to Matthew Daley. *) Bugfix: in the ngx_http_uwsgi_module.
author Igor Sysoev <http://sysoev.ru>
date Thu, 15 Mar 2012 00:00:00 +0400
parents f5b859b2f097
children ad45b044f1e5
comparison
equal deleted inserted replaced
665:a8821023989f 666:bf8b55a5ac89
476 BIO_free(bio); 476 BIO_free(bio);
477 477
478 return NGX_OK; 478 return NGX_OK;
479 } 479 }
480 480
481
481 ngx_int_t 482 ngx_int_t
482 ngx_ssl_ecdh_curve(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *name) 483 ngx_ssl_ecdh_curve(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *name)
483 { 484 {
484 #if OPENSSL_VERSION_NUMBER >= 0x0090800fL 485 #if OPENSSL_VERSION_NUMBER >= 0x0090800fL
485 #ifndef OPENSSL_NO_ECDH 486 #ifndef OPENSSL_NO_ECDH
515 #endif 516 #endif
516 #endif 517 #endif
517 518
518 return NGX_OK; 519 return NGX_OK;
519 } 520 }
521
520 522
521 ngx_int_t 523 ngx_int_t
522 ngx_ssl_create_connection(ngx_ssl_t *ssl, ngx_connection_t *c, ngx_uint_t flags) 524 ngx_ssl_create_connection(ngx_ssl_t *ssl, ngx_connection_t *c, ngx_uint_t flags)
523 { 525 {
524 ngx_ssl_connection_t *sc; 526 ngx_ssl_connection_t *sc;