Skip to content
Commit a71edf3b authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarKurt Roeckx <kurt@openssl.org>
parent 3457e7a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment