X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Frand%2Frand.h;h=14b479343ac3c03c218a1bebe9657f166093e8a0;hp=145edb2d8f204e373aa324964bf6153b20c64777;hb=302d38e3f73d5fd2ba2fd30bb7798778cb9f18dd;hpb=266483d2f56b0764849797f31866bfd84f9c3aa8 diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index 145edb2d8f..14b479343a 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h @@ -95,7 +95,9 @@ int RAND_set_rand_engine(ENGINE *engine); RAND_METHOD *RAND_SSLeay(void); void RAND_cleanup(void); int RAND_bytes(unsigned char *buf, int num); -int RAND_pseudo_bytes(unsigned char *buf, int num); +#ifdef OPENSSL_USE_DEPRECATED +DECLARE_DEPRECATED(int RAND_pseudo_bytes(unsigned char *buf, int num)); +#endif void RAND_seed(const void *buf, int num); void RAND_add(const void *buf, int num, double entropy); int RAND_load_file(const char *file, long max_bytes);