wahern / luaossl

Most comprehensive OpenSSL module in the Lua universe.
http://25thandclement.com/~william/projects/luaossl.html
Other
140 stars 49 forks source link

src/openssl.c: fix GNU version of strerror_r #176

Closed pspacek closed 4 years ago

pspacek commented 4 years ago

GNU version of strerror_r may return pointer to different place than dst variable, and former version of code was throwing away these results and returned an empty string from dst.