OpenSSL callback for creating new dynamic "locks", abstracted by the CRYPTO_dynlock_value structure.
| 247 | // OpenSSL callback for creating new dynamic "locks", abstracted by |
| 248 | // the CRYPTO_dynlock_value structure. |
| 249 | CRYPTO_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", |
nothing calls this directly
no outgoing calls
no test coverage detected