MCPcopy Create free account
hub / github.com/apache/trafficserver / TSSslSecretUpdate

Function TSSslSecretUpdate

src/api/InkAPI.cc:8063–8073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8061}
8062
8063TSReturnCode
8064TSSslSecretUpdate(const char *secret_name, int secret_name_length)
8065{
8066 TSReturnCode retval = TS_SUCCESS;
8067 SSLConfigParams *params = SSLConfig::acquire();
8068 if (params != nullptr) {
8069 params->updateCTX(std::string(secret_name, secret_name_length));
8070 }
8071 SSLConfig::release(params);
8072 return retval;
8073}
8074
8075char *
8076TSSslSecretGet(const char *secret_name, int secret_name_length, int *secret_data_length)

Callers 1

CB_Update_SecretFunction · 0.85

Calls 4

acquireFunction · 0.85
stringClass · 0.85
releaseFunction · 0.85
updateCTXMethod · 0.80

Tested by 1

CB_Update_SecretFunction · 0.68