MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / SSL_Free

Function SSL_Free

src/SSL.c:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241cc_result SSL_Free(void* ctx_) {
242 SSLContext* ctx = (SSLContext*)ctx_;
243 if (ctx) br_sslio_close(&ctx->ioc);
244
245 Mem_Free(ctx_);
246 return 0;
247}
248#else
249void SSLBackend_Init(cc_bool verifyCerts) { }
250cc_bool SSLBackend_DescribeError(cc_result res, cc_string* dst) { return false; }

Callers 1

HttpConnection_CloseFunction · 0.85

Calls 1

Mem_FreeFunction · 0.70

Tested by

no test coverage detected