Hi All, In my previous post I had mailed these compilation error details. We have enabled OPENSSL_NO_FP_API Macro in our project.
Compilation error: ../../include/openssl/pem.h:610: parse error before `RSA' ../../include/openssl/pem.h:611: warning: return-type defaults to `int' pem_all.c: In function `DECLARE_PEM_write_fp_const': pem_all.c:133: storage class specified for parameter `pkey_get_rsa' pem_all.c:145: parse error before `{' pem_all.c:145: declaration for parameter `PEM_read_bio_X509_REQ' but no such parameter pem_all.c:133: declaration for parameter `pkey_get_rsa' but no such parameter ../../include/openssl/pem.h:675: declaration for parameter `ERR_load_PEM_strings' but no such parameter Error occurs at line at line DECLARE_PEM_rw_const(RSAPublicKey, RSA). I added the MACRO's in pem.h (MACRO-I) #define DECLARE_PEM_write_cb_fp(name, type) /**/ #define DECLARE_PEM_write_fp_const(name, type) /* */ Then I got error at lines. IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, RSAPrivateKey) IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey) Then I added the MACRO's in pem.h (MACRO-II) #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /* */ Were these MACRO's (MACRO-I & MACRO-II) missing in pem.h? Or are these MACRO's (MACRO-I & MACRO-II) are not required? If these MACRO's (MACRO-I & MACRO-II) are not required, then when OPENSSL_NO_FP_API is Enabled, how the code lines which are causing erros gets compiled? Please any one can tell me? Regards, Jaya. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]