mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Use the passed buffer in ERR_error_string!
This commit is contained in:
parent
dcb1ef5c22
commit
065866b28d
@ -535,7 +535,7 @@ char *ERR_error_string(unsigned long e, char *ret)
|
||||
static char buf[256];
|
||||
|
||||
if (ret == NULL) ret=buf;
|
||||
ERR_error_string_n(e, buf, 256);
|
||||
ERR_error_string_n(e, ret, 256);
|
||||
|
||||
return(ret);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user