Re: improve ssl error code, 2147483650 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: improve ssl error code, 2147483650
Date
Msg-id 590906.1718981634@sss.pgh.pa.us
Whole thread Raw
In response to Re: improve ssl error code, 2147483650  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: improve ssl error code, 2147483650
List pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> -       strlcpy(errbuf, strerror(ERR_GET_REASON(ecode)), SSL_ERR_LEN);
> +       strerror_r(ERR_GET_REASON(ecode), errbuf, SSL_ERR_LEN);

Most of libpq gets at strerror_r via SOCK_STRERROR for Windows
portability.  Is that relevant here?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Meson far from ready on Windows
Next
From: Robert Haas
Date:
Subject: Re: Meson far from ready on Windows