summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp/v3_ocsp.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-10-30 11:05:53 +0100
committerMatt Caswell <matt@openssl.org>2015-11-09 23:48:41 +0100
commita71edf3ba275b946224b5bcded0a8ecfce1855c0 (patch)
tree85257ad90882fc4d8d8f73cd91a03b7cc476b9d2 /crypto/ocsp/v3_ocsp.c
parentRemove redundant check from SSL_shutdown (diff)
downloadopenssl-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