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

Function sendAlert

extra/yassl/src/handshake.cpp:1032–1039  ·  view source on GitHub ↗

send alert

Source from the content-addressed store, hash-verified

1030
1031// send alert
1032int sendAlert(SSL& ssl, const Alert& alert)
1033{
1034 output_buffer out;
1035 buildAlert(ssl, out, alert);
1036 ssl.Send(out.get_buffer(), out.get_size());
1037
1038 return alert.get_length();
1039}
1040
1041
1042// process input data

Callers 1

SSL_shutdownFunction · 0.85

Calls 5

buildAlertFunction · 0.85
SendMethod · 0.80
get_sizeMethod · 0.80
get_bufferMethod · 0.45
get_lengthMethod · 0.45

Tested by

no test coverage detected