SSL: fixed SSL_shutdown() comment.
This commit is contained in:
parent
cc859966b8
commit
44ed32516f
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…
Reference in a new issue