Enable thread‐safe locking on a RAND context for concurrent use.

Synopsis

Declared in <openssl/evp.h>

int
EVP_RAND_enable_locking(EVP_RAND_CTX* ctx);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

RAND context that should serialize access internally.

Created with MrDocs