summaryrefslogtreecommitdiffstats
path: root/lib/libssl
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2009-01-06 21:57:51 +0000
committerthib <thib@openbsd.org>2009-01-06 21:57:51 +0000
commit6a95758ecf70f833914ce6fc53714145ee5fbccd (patch)
tree5753501e5de9192390289464cc1351c35af70876 /lib/libssl
parent- add missing rcs id (diff)
downloadwireguard-openbsd-6a95758ecf70f833914ce6fc53714145ee5fbccd.tar.xz
wireguard-openbsd-6a95758ecf70f833914ce6fc53714145ee5fbccd.zip
Always check rs_malloc() returns. Also add M_ZERO and M_CANFAIL
to the flags passed to malloc() in the kernel case since we always zero the memory and are able to fail gracefully. remove memset()'s and bzero's accordingly and use calloc(1, ...) in the userland case so we get it zeroed. OK henning@, claudio@
Diffstat (limited to 'lib/libssl')
0 files changed, 0 insertions, 0 deletions