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

Method createKey

extra/yassl/src/yassl_imp.cpp:56–63  ·  view source on GitHub ↗

construct key exchange with known ssl parms

Source from the content-addressed store, hash-verified

54
55// construct key exchange with known ssl parms
56void ClientKeyExchange::createKey(SSL& ssl)
57{
58 const ClientKeyFactory& ckf = ssl.getFactory().getClientKey();
59 client_key_ = ckf.CreateObject(ssl.getSecurity().get_parms().kea_);
60
61 if (!client_key_)
62 ssl.SetError(factory_error);
63}
64
65
66// construct key exchange with known ssl parms

Callers

nothing calls this directly

Calls 3

CreateObjectMethod · 0.80
get_parmsMethod · 0.80
SetErrorMethod · 0.45

Tested by

no test coverage detected