diff options
Diffstat (limited to 'lib/libcrypto/rand/rand_lcl.h')
-rw-r--r-- | lib/libcrypto/rand/rand_lcl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libcrypto/rand/rand_lcl.h b/lib/libcrypto/rand/rand_lcl.h index 618a8ec899c..18cc9b1e4af 100644 --- a/lib/libcrypto/rand/rand_lcl.h +++ b/lib/libcrypto/rand/rand_lcl.h @@ -154,5 +154,16 @@ #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md2(), NULL) #endif +#ifndef OPENSSL_NO_ENGINE +void int_RAND_set_callbacks( + int (*set_rand_func)(const RAND_METHOD *meth, + const RAND_METHOD **pmeth), + const RAND_METHOD *(*get_rand_func) + (const RAND_METHOD **pmeth)); +int eng_RAND_set_rand_method(const RAND_METHOD *meth, + const RAND_METHOD **pmeth); +const RAND_METHOD *eng_RAND_get_rand_method(const RAND_METHOD **pmeth); +#endif + #endif |