I am sure that works on a Unix machine, but unfortunately I am on Windows.
Could you maybe copy and paste the output of "man pem" in an email?

Thanks,
Radboud

PS: I am sure that the documentation for OpenSSL on Unix machines is
adequate, however on Windows machines, with the lack of a working 'man'
command and no help files available, it is quite impossible to make heads or
tails out of it. Most of the time I need to get into the source code to
figure out how it works!!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nils Larsch
Sent: Wednesday, October 02, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Loading a certifcate from file into a X509 struct


Radboud Platvoet wrote:
[...]
> This is the definition (after you resolve the macro):
>
> (X509 *) PEM_read_X509( FILE *fp, X509 **x, pem_password_cb *cb, void
*u );
>
> These I figured out:
> - fp  is most likely an open file pointer to the certificate file.
> - x   is most likely a double pointer to an X509 struct.
>
> But what is a pem_password_cb and what do I do with it?
> It is defined as:
>     typedef int pem_password_cb(char *buf, int size, int rwflag, void
> *userdata);
> And what is this void *u at the end supposed to do??
>
> Any help, or even better: an example, would be greatly appreciated!!

man pem

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

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

Reply via email to