SSL: fixed SSL_shutdown() comment.
Maxim Dounin
6 years ago
1796 | 1796 |
|
1797 | 1797 |
sslerr = 0;
|
1798 | 1798 |
|
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 */
|
1800 | 1800 |
|
1801 | 1801 |
if (n != 1 && ERR_peek_error()) {
|
1802 | 1802 |
sslerr = SSL_get_error(c->ssl->connection, n);
|