I try to serialise a RSA key into a buffer. I tried both pairs
int i2d_RSAPublicKey(RSA *a, unsigned char **pp);
RSA * d2i_RSAPublicKey(RSA **a, unsigned char **pp, long length);
RSA * d2i_RSA_PUBKEY(RSA **a, unsigned char **pp, long length);
int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp);

My pointer is realy a pointer on a pointer on an unsigned char and I'm
shure, I'm not messing up with some const modifier.
But the compiler complains anyway about an incompatible pointer type for
argument 2.
The code runs fine on Fedora Linux FC7 and FC8 but crashes on the
Linksys devices running OpenWrt's kamikaze 7.09.

The problem is, there are no OpenSSL error messages, the programm just
dies without any entry in a log.
Has anybody met something similar or any experience with these functions?

Thank you for your help.

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org