Removing function names from errors (PR 9058)
Viktor Dukhovni
openssl-users at dukhovni.org
Fri Jun 14 02:04:24 UTC 2019
On Wed, Jun 12, 2019 at 05:51:44AM +0200, Richard Levitte wrote:
> A discussion point in that PR is whether it's still interesting to
> keep information on the system function/callback that was called when
> we're reporting a system error, i.e. this type of error report:
>
> SYSerr(SYS_F_FSTAT, errno);
>
> (incidently, there's another PR, 9072, which changes those to
> 'SYSerr("fstat", errno)')
>
> So, the main points of discussion seem to be:
>
> - should we remove function indicators in our error reporting?
> - should we make an exception for system errors (SYSerr())?
Bottom line, my take is that function indicators should stay, but
string names would be more convenient all around than numeric codes.
--
Viktor.
More information about the openssl-project
mailing list