diff options
author | Vitezslav Cizek <vcizek@suse.com> | 2019-02-28 13:47:18 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-03-04 10:06:54 +0000 |
commit | e3b35d2b29e9446af83fcaa534e67e7b04a60d7a (patch) | |
tree | 1edd62224aebd8ad79680e94b968fef1904f74e8 /engines/e_padlock.c | |
parent | 68ad17e87467e93eab87fc2fce0da53d6a7653cc (diff) |
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: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8371)
Diffstat (limited to 'engines/e_padlock.c')
0 files changed, 0 insertions, 0 deletions