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

Function SSLv23_client_method

extra/yassl/src/ssl.cpp:201–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200
201SSL_METHOD* SSLv23_client_method()
202{
203 // compatibility only, no version 2 support, but does SSL 3 and TLS 1
204 // though it sends TLS1 hello not SSLv2 so SSLv3 only servers will decline
205 // TODO: maybe add support to send SSLv2 hello ???
206 return NEW_YS SSL_METHOD(client_end, ProtocolVersion(3,2), true);
207}
208
209
210SSL_CTX* SSL_CTX_new(SSL_METHOD* method)

Callers 1

echoclient_testFunction · 0.85

Calls 2

ProtocolVersionClass · 0.85
SSL_METHODClass · 0.50

Tested by

no test coverage detected