Fix RAND_(pseudo_)?_bytes returns
authorMatt Caswell <matt@openssl.org>
Thu, 26 Feb 2015 16:28:59 +0000 (16:28 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Mar 2015 12:45:17 +0000 (12:45 +0000)
commit750190567a43d827fa16c58e79ae3ec6ff6c91d3
tree0fdc59036c721536c5968cf78cfb9e7dbbe31156
parent23a9b24aa100cc1c5c7d2c95252f2520680d2e58
Fix RAND_(pseudo_)?_bytes returns

Ensure all calls to RAND_bytes and RAND_pseudo_bytes have their return
value checked correctly

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 8f8e4e4f5253085ab673bb74094c3e492c56af44)

Conflicts:
crypto/evp/e_des3.c
20 files changed:
apps/s_cb.c
apps/s_server.c
crypto/asn1/asn_mime.c
crypto/bio/bf_nbio.c
crypto/bn/bn.h
crypto/bn/bn_rand.c
crypto/cms/cms_pwri.c
crypto/des/des.c
crypto/des/enc_writ.c
crypto/dsa/dsa_gen.c
crypto/ecdsa/ecdsatest.c
crypto/evp/bio_ok.c
crypto/evp/p_seal.c
crypto/ocsp/ocsp_ext.c
crypto/srp/srp_vfy.c
demos/easy_tls/easy-tls.c
ssl/d1_both.c
ssl/s3_clnt.c
ssl/t1_lib.c
ssl/tls_srp.c