On Wed, 2015-09-30 at 02:01 +0000, Rich Salz via RT wrote: > We fixed this in a slightly different way. We made BIO_new_file and BIO_s_file > return an alternate implementation that returns run-time failures. Almost all > of the OpenSSL code uses the BIO object, so we didn't have to remove that. We > did #ifdef out any routine that had a "FILE*" param or local variable. > -- > Rich Salz, OpenSSL dev team; [email protected]
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...
--
Sent with Evolution's ActiveSync support.
David Woodhouse Open Source Technology Centre
[email protected] Intel Corporation
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
