MCPcopy Create free account
hub / github.com/acl-dev/acl / set_key

Method set_key

lib_acl_cpp/src/stream/openssl_conf.cpp:1097–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095}
1096
1097bool openssl_conf::set_key(const char* key_file, const char* key_pass /* NULL */)
1098{
1099 if (crt_file_.empty()) {
1100 logger_error("call add_cert first");
1101 return false;
1102 }
1103
1104 return add_cert(crt_file_, key_file, key_pass);
1105}
1106
1107void openssl_conf::enable_cache(bool /* on */)
1108{

Callers 14

addMethod · 0.45
getMethod · 0.45
delMethod · 0.45
proc_on_initMethod · 0.45
proc_on_initMethod · 0.45
mainFunction · 0.45
proc_on_initMethod · 0.45
proc_on_initMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
addMethod · 0.45
triggerMethod · 0.45

Calls 2

add_certFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected