Install the legacy RAND_METHOD used by RAND_bytes and related APIs (deprecated).

Synopsis

Declared in <openssl/rand.h>

[[deprecated]]
int
RAND_set_rand_method(RAND_METHOD const* meth);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

meth

Method table to make current, or NULL to clear.

Created with MrDocs