Yes I tried including  <openssl/rsa.h>, but it did not help

Regards,
Jaya.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Girish
Venkatachalam
Sent: Tuesday, August 01, 2006 12:24 PM
To: openssl-users@openssl.org
Subject: Re: RSAPublicKey causing compilation error



--- "Bhat, Jayalakshmi Manjunath"
<[EMAIL PROTECTED]> wrote:

> Hi All,
>  
> I am trying to complie openssl.9.8a on HP-UX. I am getting errors
> 
> ../../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
> ../../include/openssl/pem.h:647: declaration for parameter 
> `d2i_PKCS8PrivateKey_bio' but no such parameter
> ../../include/openssl/pem.h:646: declaration for parameter 
> `i2d_PKCS8PrivateKey_nid_bio' but no such parameter
> ../../include/openssl/pem.h:642: declaration for parameter 
> `i2d_PKCS8PrivateKey_bio' but no such parameter
> ../../include/openssl/pem.h:639: declaration for parameter 
> `PEM_write_bio_PKCS8PrivateKey' but no such parameter
> ../../include/openssl/pem.h:636: declaration for parameter 
> `PEM_write_bio_PKCS8PrivateKey_nid' but no such parameter
> ../../include/openssl/pem.h:631: declaration for parameter 
> `PEM_write_bio_PUBKEY' but no such parameter
> ../../include/openssl/pem.h:631: declaration for parameter 
> `PEM_read_bio_PUBKEY' but no such parameter
> ../../include/openssl/pem.h:630: declaration for parameter 
> `PEM_write_bio_PrivateKey' but no such parameter
> ../../include/openssl/pem.h:630: declaration for parameter 
> `PEM_read_bio_PrivateKey' but no such parameter
> ../../include/openssl/pem.h:611: declaration for parameter 
> `PEM_write_bio_RSA_PUBKEY' but no such parameter
> ../../include/openssl/pem.h:611: declaration for parameter 
> `PEM_read_bio_RSA_PUBKEY' but no such parameter
> pem_all.c:145: `bp' undeclared (first use in this
> function)
> pem_all.c:145: (Each undeclared identifier is reported only once
> pem_all.c:145: for each function it appears in.)
> pem_all.c:145: `x' undeclared (first use in this
> function)
> pem_all.c:145: `cb' undeclared (first use in this
> function)
> pem_all.c:145: `u' undeclared (first use in this
> function)
> pem_all.c:145: warning: return makes integer from pointer without a 
> cast
> pem_all.c: In function `PEM_read_bio_RSAPrivateKey':
> pem_all.c:186: warning: implicit declaration of function 
> `PEM_read_bio_PrivateKey'
> pem_all.c:186: warning: assignment makes pointer from integer without 
> a cast
> pem_all.c: At top level:
> pem_all.c:203: parse error before `RSA'
> 
> Please can one help me in debugging this error.
Did you include <openssl/rsa.h> ?
> 
> Regards,
> Jaya.
>
______________________________________________________________________
> OpenSSL Project                                
> http://www.openssl.org
> User Support Mailing List                   
> openssl-users@openssl.org
> Automated List Manager                          
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to