From: Ben Laurie Date: Mon, 28 Aug 2000 10:57:01 +0000 (+0000) Subject: Use the passed buffer in ERR_error_string! X-Git-Tag: OpenSSL-engine-0_9_6-beta1~12^2~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=065866b28d95b670b63a0ccf47cd0db2064a1b3d;p=oweals%2Fopenssl.git Use the passed buffer in ERR_error_string! --- 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); }