Select an ENGINE as the source of the legacy RAND_METHOD (deprecated).
Synopsis
Declared in <openssl/rand.h>
[[deprecated]]
int
RAND_set_rand_engine(ENGINE* engine);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Description
Deprecated in OpenSSL 3.0; prefer EVP_RAND / provider‐based DRBGs.
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
engine |
ENGINE providing a RAND implementation, or NULL to clear. |
Created with MrDocs