diff options
author | Matt Caswell <matt@openssl.org> | 2015-10-30 11:05:53 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-11-09 23:48:41 +0100 |
commit | a71edf3ba275b946224b5bcded0a8ecfce1855c0 (patch) | |
tree | 85257ad90882fc4d8d8f73cd91a03b7cc476b9d2 /crypto/ocsp/v3_ocsp.c | |
parent | Remove redundant check from SSL_shutdown (diff) | |
download | openssl-a71edf3ba275b946224b5bcded0a8ecfce1855c0.tar.xz openssl-a71edf3ba275b946224b5bcded0a8ecfce1855c0.zip |
Standardise our style for checking malloc failures
if we have a malloc |x = OPENSSL_malloc(...)| sometimes we check |x|
for NULL and sometimes we treat it as a boolean |if(!x) ...|. Standardise
the approach in libssl.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'crypto/ocsp/v3_ocsp.c')
0 files changed, 0 insertions, 0 deletions