boringssl/crypto/pem
David Benjamin a6d81018f8 Consistently use RAND_bytes and check for failure.
RAND_pseudo_bytes just calls RAND_bytes now and only returns 0 or 1. Switch all
callers within the library call the new one and use the simpler failure check.
This fixes a few error checks that no longer work (< 0) and some missing ones.

Change-Id: Id51c79deec80075949f73fa1fbd7b76aac5570c6
Reviewed-on: https://boringssl-review.googlesource.com/2621
Reviewed-by: Adam Langley <agl@google.com>
2014-12-16 19:15:59 +00:00
..
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
pem_all.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
pem_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pem_info.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
pem_lib.c Consistently use RAND_bytes and check for failure. 2014-12-16 19:15:59 +00:00
pem_oth.c Inital import. 2014-06-20 13:17:32 -07:00
pem_pk8.c Inital import. 2014-06-20 13:17:32 -07:00
pem_pkey.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
pem_x509.c Inital import. 2014-06-20 13:17:32 -07:00
pem_xaux.c Inital import. 2014-06-20 13:17:32 -07:00