ENGINE_set_RAND

Attach a RAND_METHOD implementation to an ENGINE.

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_set_RAND(
    ENGINE* e,
    RAND_METHOD const* rand_meth);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
eENGINE whose RAND method pointer is replaced.
rand_methRAND method table to use, or NULL to clear.