diff options
author | jsing <> | 2015-09-12 19:54:31 +0000 |
---|---|---|
committer | jsing <> | 2015-09-12 19:54:31 +0000 |
commit | e924e5f0d4bd6236aea5499a68d58fdd552a1d12 (patch) | |
tree | 6d7005f84ef8db59b7b30dd91562d159028dd12d /src/lib/libc/stdlib/lrand48.c | |
parent | b954557fa19488dbfb1b2a641b808d7554d1f845 (diff) | |
download | openbsd-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/lrand48.c')
0 files changed, 0 insertions, 0 deletions