Go to file
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
crypto Consistently use RAND_bytes and check for failure. 2014-12-16 19:15:59 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Fix EVP_Cipher error-handling. 2014-12-16 01:51:55 +00:00
ssl Consistently use RAND_bytes and check for failure. 2014-12-16 19:15:59 +00:00
tool Add the ability to run a server from the command line tool. 2014-12-11 10:47:21 -08:00
util Update constant-time operations. 2014-11-10 13:48:30 -08:00
.clang-format Inital import. 2014-06-20 13:17:32 -07:00
.gitignore Inital import. 2014-06-20 13:17:32 -07:00
BUILDING Build with yasm on Win64 as well. 2014-10-31 22:02:45 +00:00
CMakeLists.txt Remove variable shadowing. 2014-12-09 21:32:49 +00:00
codereview.settings Add a codereview.settings file. 2014-11-18 22:21:33 +00:00