Skip to content
Commit e3b35d2b authored by Vitezslav Cizek's avatar Vitezslav Cizek Committed by Matt Caswell
Browse files

openssl_strerror_r: Fix handling of GNU strerror_r



GNU strerror_r may return either a pointer to a string that the function
stores in buf, or a pointer to some (immutable) static string in which case
buf is unused.

In such a case we need to set buf manually.

Reviewed-by: default avatarBernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8371)
parent 68ad17e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment