MCPcopy Create free account
hub / github.com/3rdparty/libprocess / dyn_create_function

Function dyn_create_function

src/openssl.cpp:249–258  ·  view source on GitHub ↗

OpenSSL callback for creating new dynamic "locks", abstracted by the CRYPTO_dynlock_value structure.

Source from the content-addressed store, hash-verified

247// OpenSSL callback for creating new dynamic "locks", abstracted by
248// the CRYPTO_dynlock_value structure.
249CRYPTO_dynlock_value* dyn_create_function(const char* /*file*/, int /*line*/)
250{
251 CRYPTO_dynlock_value* value = new CRYPTO_dynlock_value();
252
253 if (value == nullptr) {
254 return nullptr;
255 }
256
257 return value;
258}
259
260
261// OpenSSL callback for locking and unlocking dynamic "locks",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected