diff options
Diffstat (limited to 'crypto/err')
-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); } |