GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RAND_SET_RAND_METHOD(3) FreeBSD Library Functions Manual RAND_SET_RAND_METHOD(3)

RAND_set_rand_method, RAND_get_rand_method, RAND_SSLeayselect RAND method

#include <openssl/rand.h>

int
RAND_set_rand_method(const RAND_METHOD *meth);

const RAND_METHOD *
RAND_get_rand_method(void);

RAND_METHOD *
RAND_SSLeay(void);

These functions used to allow for the random number generator functions to be replaced by arbitrary code.

They are kept for ABI compatibility but are no longer functional, and should not be used in new programs.

RAND_set_rand_method() always returns 1. RAND_get_rand_method() and RAND_SSLeay() always return NULL.

RAND_set_rand_method(), RAND_get_rand_method(), and RAND_SSLeay() first appeared in SSLeay 0.9.1 and have been available since OpenBSD 2.6.

March 21, 2018 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.