Klaus Demo nginx / 89d3762
SSL: fixed SSL_shutdown() comment. Maxim Dounin 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
17961796
17971797 sslerr = 0;
17981798
1799 /* SSL_shutdown() never returns -1, on error it returns 0 */
1799 /* before 0.9.8m SSL_shutdown() returned 0 instead of -1 on errors */
18001800
18011801 if (n != 1 && ERR_peek_error()) {
18021802 sslerr = SSL_get_error(c->ssl->connection, n);