Hi

I have a question about passphrase callbacks. They should have the type
pem_password_cb, which according to pem.h is

typedef int pem_password_cb(char *buf, int size, int rwflag, void
*userdata);

What does the 'rwflag' argument stand for and how is it used in the
callback? I DID try to RTFM this time, but I didn't find anything. I may
just be stupid, in any case I'm grateful for pointers.

-- 
Martin Sj�gren
  [EMAIL PROTECTED]              ICQ : 41245059
  Phone: +46 (0)31 405242        Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html

PGP signature

Reply via email to