MCPcopy Create free account
hub / github.com/MariaDB/server / create_tls_obj

Function create_tls_obj

plugin/server_audit/server_audit.cc:1225–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1223}
1224
1225static size_t create_tls_obj(const struct mysql_event_connection *ev, char *obj_str, size_t len) {
1226 size_t obj_len;
1227
1228 obj_len= 0;
1229 memset(obj_str, 0, len);
1230 if (ev->tls_version_length > 0) {
1231 obj_len= my_snprintf(obj_str, len,
1232 "%.*s", ev->tls_version_length, ev->tls_version);
1233 }
1234 return obj_len;
1235}
1236
1237static int log_proxy(const struct connection_info *cn,
1238 const struct mysql_event_connection *event)

Callers 2

log_connectionFunction · 0.85
log_connection_eventFunction · 0.85

Calls 1

my_snprintfFunction · 0.85

Tested by

no test coverage detected