l be used instead of the method returned by RAND_OpenSSL(). This is deprecated in OpenSSL 3.0.</p>

<p>RAND_set_rand_method() makes <b>meth</b> the method for PRNG use. If an ENGINE was providing the method, it will be released first.</p>

<p>RAND_get_rand_method() returns a pointer to the current <b>RAND_METHOD</b>.</p>

<h1 id="THE-RAND_METHOD-STRUCTURE">THE RAND_METHOD STRUCTURE</h1>

<pre><code> typedef struct rand_meth_st {
     int (*seed)(const void *buf, int num);
     int (*bytes)(unsigned char *bu