summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-09-12 19:54:31 +0000
committerjsing <jsing@openbsd.org>2015-09-12 19:54:31 +0000
commit9ba095aa2b27074e08ce5e4dda9d2a647c191f00 (patch)
tree76f5c710e6c26fb3f097941cb34a61987f85b05c /lib/libc/stdlib/reallocarray.c
parentUnwrap a bunch of lines. (diff)
downloadwireguard-openbsd-9ba095aa2b27074e08ce5e4dda9d2a647c191f00.tar.xz
wireguard-openbsd-9ba095aa2b27074e08ce5e4dda9d2a647c191f00.zip
Ensure that we clear the libssl error stack before we make a function call
that we will pass the result through tls_ssl_error() on failure. Otherwise we can end up reporting spurious errors due to their being unrelated errors already on the error stack. Spotted by Marko Kreen. ok beck@
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions