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

Function buildOutput

extra/yassl/src/handshake.cpp:102–107  ·  view source on GitHub ↗

Write a plaintext record to buffer

Source from the content-addressed store, hash-verified

100
101// Write a plaintext record to buffer
102void buildOutput(output_buffer& buffer, const RecordLayerHeader& rlHdr,
103 const Message& msg)
104{
105 buffer.allocate(RECORD_HEADER + rlHdr.length_);
106 buffer << rlHdr << msg;
107}
108
109
110// Write a plaintext record to buffer

Callers 10

buildAlertFunction · 0.85
sendClientHelloFunction · 0.85
sendClientKeyExchangeFunction · 0.85
sendServerKeyExchangeFunction · 0.85
sendChangeCipherFunction · 0.85
sendServerHelloFunction · 0.85
sendServerHelloDoneFunction · 0.85
sendCertificateFunction · 0.85
sendCertificateRequestFunction · 0.85
sendCertificateVerifyFunction · 0.85

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected