Make sure we use RAND_bytes_ex and RAND_priv_bytes_ex in libssl
authorMatt Caswell <matt@openssl.org>
Wed, 15 Jan 2020 18:12:59 +0000 (18:12 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 24 Jan 2020 15:12:56 +0000 (15:12 +0000)
commit8f21260b09eca6226255763e1856c12fbc71985c
treeaa28cc741f8b5a26aeb66a3b5e52c6b6dedb66c1
parentd80bf693faaa8ad08ca76f52228837306d77bb32
Make sure we use RAND_bytes_ex and RAND_priv_bytes_ex in libssl

Now that libssl knows about libctx we should use it wherever we generate
a random number.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10927)
ssl/record/ssl3_record.c
ssl/s3_lib.c
ssl/ssl_lib.c
ssl/ssl_sess.c
ssl/statem/statem_clnt.c
ssl/statem/statem_srvr.c