[openssl-project] Removal of NULL checks
Viktor Dukhovni
openssl-users at dukhovni.org
Thu Aug 9 23:03:25 UTC 2018
On Thu, Aug 09, 2018 at 02:23:07PM -0700, Paul Dale wrote:
> > Real code often doesn't check return values. Even ours. :(
>
> Could we consider adding a lot more __owur tags to functions to encourage this?
>
> As an API change it would have to wait for a major release.
This is sometimes a good idea, for sufficiently important functions.
This sort of change generates compiler warnings, and is easily
addressed without breaking compatibility with older library versions.
We should not overuse __owur in marginal cases.
--
Viktor.
More information about the openssl-project
mailing list