[openssl-dev] [openssl.org #3964] Fix OPENSSL_NO_STDIO build

Kaduk, Ben via RT rt at openssl.org
Wed Sep 30 17:45:09 UTC 2015


On 09/30/2015 10:12 AM, Salz, Rich via RT wrote:
>> If things like BIO_new_file() were inline, or macros, then the compiler could
>> *see* that they'd return NULL. And lots of code in the *calling* functions
>> (basically everything but the error path) could be elided from the compiled
>> result...
> Cool, will do that.
>
Making things inline functions or macros requires exposing their
implementation details to consumers of the header in question.  That
seems at odds with the goal of making structures opaque, though I don't
know whether making BIO opaque was one of the targets for that project.

-Ben




More information about the openssl-dev mailing list