Hi all, my question is very basic but I didn't find any answer. I create a pair of public/private RSA key with the following commands:
openssl genrsa -out priv.pem openssl rsa -in priv.pem -pubout -out pub.pem and then I try to extract the public key with the follwoing code : " char *path ="pub.pem"; fp = fopen(path, "r"); rsa = PEM_read_RSAPublicKey(fp, &rsa, NULL, NULL); " and while fp is not NULL �I get nothing in rsa... so if anynone has an idea it would be very great :-) Thanks a lot, [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
