One related caveat. I've found that if OPENSSL_NO_FP_API is defined, then there will be some undefined symbol errors at compile time; some references to FILE, etc. are not conditionalized out.
However, I've done an embedded port to a non-standard OS, so your mileage may vary. Paul _____________________________________________________________________________________________________ Paul A. Suhler | Firmware Engineer | Quantum Corporation | Office: 949.856.7748 | paul.suh...@quantum.comĀ Preserving the World's Most Important Data. Yours.(tm) -----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Jeffrey Walton Sent: Wednesday, August 17, 2011 4:31 PM To: openssl-users@openssl.org Subject: Re: Usage of macro OPENSSL_NO_STDIO On Wed, Aug 17, 2011 at 1:51 PM, Kchitiz Saxena <kchitiz.sax...@gmail.com> wrote: > Hi Wim > Thanks for the response. Actually, I am trying to compile openssl for WinCE > 5.0. That's why I was trying to figure out whether I should define this > macro while compiling or not. However, if this macro is defined, I get few > compilation errors. > > Have anyone compiled the code with this flag for the same platform? Yes. See Pierre Delaage's wcecompat at http://delaage.pierre.free.fr/. > > On Wed, Aug 17, 2011 at 10:59 PM, Wim Lewis <w...@omnigroup.com> wrote: >> 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 ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org