On 17 Aug 2011, at 7:36 AM, Kchitiz Saxena wrote:
> Can somebody briefly explain the use of macro OPENSSL_NO_STDIO. There are few 
> functions like SSL_CTX_use_certificate_file() which are defined only if this 
> macro is not defined. What is the functionality which is derived out of this 
> macro definition. In short, what I get/loose if I define this macro while 
> compiling this macro.

It removes functions which depend on the "stdio" functions (defined in stdio.h, 
which perform I/O using the FILE * type). I assume this is useful when openssl 
is being compiled for use in an embedded environment or other special situation 
where stdio is not available.

I think it's not a macro that users of openssl are expected to define; instead, 
it's defined when openssl is configured, and users of the library can check 
whether it's defined in openssl's headers (probably via opensslconf.h).


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to