Hi,

       I've just downloaded the OpenSSL package and compiled the libraries
for NT on VC. The compilation seems to be good and the test examples run
correctly.
       Now, I'm trying to compile the openssl-0.9.4\demos\selfsign.c example
and it  says me that I'm not passing the appropiate number of parameters on
thePEM_write_RSAPrivateKey function.
    In the example it takes 6 parameters:
        PEM_write_RSAPrivateKey(stdout,pkey->pkey.rsa,NULL,NULL,0,NULL);

    But in the pem.h takes 7:
        #define PEM_write_RSAPrivateKey(fp,x,enc,kstr,klen,cb,u) \

    In the other hand it is defined on the doc\ssleay.txt as
        #define PEM_write_RSAPrivateKey(fp,x,enc,kstr,klen,cb)

    I've just started with this and I've no idea where the problem comes
from.What am I doing wrong?

    Thank you for your help,

        Unai

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to