diff options
author | doug <> | 2015-01-03 18:07:29 +0000 |
---|---|---|
committer | doug <> | 2015-01-03 18:07:29 +0000 |
commit | e6a61956e539a81a140db172e1a22774d3ff7077 (patch) | |
tree | 1a682c1fdd2a7e05c5dde4ef08c70ba98577cbdd /src/lib/libc/stdlib/malloc.c | |
parent | 2e4e9fcd58d6e0be5d84f72a2b46fc0aa74b3753 (diff) | |
download | openbsd-e6a61956e539a81a140db172e1a22774d3ff7077.tar.gz openbsd-e6a61956e539a81a140db172e1a22774d3ff7077.tar.bz2 openbsd-e6a61956e539a81a140db172e1a22774d3ff7077.zip |
Fix incorrect OPENSSL_assert() usage.
Instead of asserting, return an error code for I/O errors. This is based
on OpenSSL commit 2521fcd8527008ceb3e4748f95b0ed4e2d70cfef. Added checks
for two calloc()s while I'm here.
ok miod@
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions