SSL: fixed SSL_shutdown() comment.

This commit is contained in:
Maxim Dounin 2016-02-19 17:27:23 +03:00
parent cc859966b8
commit 44ed32516f

View file

@ -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);