MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / SSL_shutdown

Function SSL_shutdown

extra/yassl/src/ssl.cpp:440–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438
439
440int 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
454void SSL_set_quiet_shutdown(SSL *ssl,int mode)

Callers 3

client_testFunction · 0.85
echoserver_testFunction · 0.85
server_testFunction · 0.85

Calls 5

sendAlertFunction · 0.85
GetQuietShutdownMethod · 0.80
ShowTCPMethod · 0.80
get_fdMethod · 0.80
RemoveMethod · 0.80

Tested by

no test coverage detected