X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Ferr%2Ferr.c;h=bfecb86c754b65b23cfd8fe98337cdd68700217a;hb=065866b28d95b670b63a0ccf47cd0db2064a1b3d;hp=f108bc0b81a6868c515cd3124ce1870661f7e548;hpb=dcb1ef5c22db6818dd333576fc3d46a5c2583c20;p=openssl.git 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); }