diff options
author | Ben Laurie <ben@openssl.org> | 2000-08-28 10:57:01 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2000-08-28 10:57:01 +0000 |
commit | 065866b28d95b670b63a0ccf47cd0db2064a1b3d (patch) | |
tree | e6c012b93b8ef60ccb9e37809ff2afc3b6b31c7a /crypto | |
parent | dcb1ef5c22db6818dd333576fc3d46a5c2583c20 (diff) | |
download | openssl-065866b28d95b670b63a0ccf47cd0db2064a1b3d.tar.gz |
Use the passed buffer in ERR_error_string!
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/err/err.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c index f108bc0b81..bfecb86c75 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -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); } |