mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
SSL: fixed SSL_shutdown() comment.
This commit is contained in:
parent
73f815e489
commit
89d3762863
@ -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…
Reference in New Issue
Block a user