version: increase buffer space for ssl version output

To avoid it getting truncated, especially when several SSL backends are
built-in.

Reported-by: Gisle Vanem
Fixes #5222
Closes #5226
This commit is contained in:
Daniel Stenberg 2020-04-12 23:56:33 +02:00
parent 50842c1b32
commit f62bd9db90
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -87,12 +87,12 @@ static size_t brotli_version(char *buf, size_t bufsz)
*/
char *curl_version(void)
{
static char out[250];
static char out[300];
char *outp;
size_t outlen;
const char *src[14];
#ifdef USE_SSL
char ssl_version[40];
char ssl_version[200];
#endif
#ifdef HAVE_LIBZ
char z_version[40];