mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 06:53:10 +00:00
SSL: fixed SSL_shutdown() comment.
This commit is contained in:
parent
73f815e489
commit
89d3762863
1 changed files with 1 additions and 1 deletions
|
|
@ -1797,7 +1797,7 @@ ngx_ssl_shutdown(ngx_connection_t *c)
|
|||
|
||||
sslerr = 0;
|
||||
|
||||
/* SSL_shutdown() never returns -1, on error it returns 0 */
|
||||
/* before 0.9.8m SSL_shutdown() returned 0 instead of -1 on errors */
|
||||
|
||||
if (n != 1 && ERR_peek_error()) {
|
||||
sslerr = SSL_get_error(c->ssl->connection, n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue