Build the default path for the PRNG seed file into a caller-provided buffer.
Declared in <openssl/rand.h>
char const*
RAND_file_name(
char* file,
size_t num);
Pointer to file on success, or NULL on error.
| Name | Description |
|---|---|
| file | Output buffer that receives the path (for example from RANDFILE or $HOME/.rnd). |
| num | Size of file in bytes. |