MCPcopy Create free account
hub / github.com/apache/qpid-proton / default_server_config

Function default_server_config

c/tests/tls_test.cpp:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248pn_tls_config_t *default_server_config(void) {
249 pn_tls_config_t *cfg = pn_tls_config(PN_TLS_MODE_SERVER);
250 if (cfg && SET_CREDENTIALS(cfg, "tserver") == 0)
251 return cfg;
252 pn_tls_config_free(cfg);
253 return NULL;
254}
255
256pn_raw_buffer_t new_rbuf(size_t sz) {
257 pn_raw_buffer_t rb = {0};

Callers 2

initMethod · 0.85
tls_test.cppFile · 0.85

Calls 2

pn_tls_configFunction · 0.85
pn_tls_config_freeFunction · 0.85

Tested by

no test coverage detected