Commit 065866b2 authored by Ben Laurie's avatar Ben Laurie
Browse files

Use the passed buffer in ERR_error_string!

parent dcb1ef5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}