Use strerror_r()/strerror_s() instead of strerror() where possible
authorMatt Caswell <matt@openssl.org>
Mon, 23 May 2016 12:52:29 +0000 (13:52 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 23 May 2016 22:26:10 +0000 (23:26 +0100)
commit7d37818dacc87c21dfc9d2def5014657344875e3
tree459cf7a75959c26b09b1e91be893b5f4fe27b3fe
parenta93e0e78db78e03bdcd29acf9bbc8a812ee50cb6
Use strerror_r()/strerror_s() instead of strerror() where possible

The function strerror() is not thread safe. We should use strerror_r()
where possible, or strerror_s() on Windows.

RT#2267

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/dso/dso_dl.c
crypto/err/err.c
crypto/include/internal/cryptlib.h
crypto/o_str.c