| 438 | |
| 439 | |
| 440 | int SSL_shutdown(SSL* ssl) |
| 441 | { |
| 442 | if (!ssl->GetQuietShutdown()) { |
| 443 | Alert alert(warning, close_notify); |
| 444 | sendAlert(*ssl, alert); |
| 445 | } |
| 446 | ssl->useLog().ShowTCP(ssl->getSocket().get_fd(), true); |
| 447 | |
| 448 | GetErrors().Remove(); |
| 449 | |
| 450 | return SSL_SUCCESS; |
| 451 | } |
| 452 | |
| 453 | |
| 454 | void SSL_set_quiet_shutdown(SSL *ssl,int mode) |
no test coverage detected