summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/atexit.c
diff options
context:
space:
mode:
authorjsing <>2015-09-12 19:54:31 +0000
committerjsing <>2015-09-12 19:54:31 +0000
commite924e5f0d4bd6236aea5499a68d58fdd552a1d12 (patch)
tree6d7005f84ef8db59b7b30dd91562d159028dd12d /src/lib/libc/stdlib/atexit.c
parentb954557fa19488dbfb1b2a641b808d7554d1f845 (diff)
downloadopenbsd-e924e5f0d4bd6236aea5499a68d58fdd552a1d12.tar.gz
openbsd-e924e5f0d4bd6236aea5499a68d58fdd552a1d12.tar.bz2
openbsd-e924e5f0d4bd6236aea5499a68d58fdd552a1d12.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 'src/lib/libc/stdlib/atexit.c')
0 files changed, 0 insertions, 0 deletions