Re: Loading RSA keys from file.

2005-05-11 Thread Angel Martinez Gonzalez
, this function show RSA size correctly. I hope this function solve your problem. Regards. P.D.: Your name remember me a very famous song of Eric Clapton ... ;-) - Original Message - From: Layla To: openssl-users@openssl.org Sent: Tuesday, May 10, 2005 3:55 PM Subject:

Loading RSA keys from file.

2005-05-10 Thread Layla
I'm still not able to load the key from its file and I'm still encountering an error when I use RSA_size();a run time error occured when I try to print the returned size. I'm including a segment of my code after modification: RSA *apub;

Re: Loading RSA keys from file.

2005-05-10 Thread Angel Martinez Gonzalez
Hello Layla: Maybe, your error disapear if you will change the following: apub = PEM_read_RSAPublicKey(f, NULL, NULL, NULL); Regards. - Original Message - From: Layla To: openssl-users@openssl.org Sent: Tuesday, May 10, 2005 9:30 AM Subject: Loading RSA keys

Re: Loading RSA keys from file.

2005-05-10 Thread Layla
. - Original Message - From: Layla To: openssl-users@openssl.org Sent: Tuesday, May 10, 2005 9:30 AM Subject: Loading RSA keys from file. I'm still not able to load the key from its file and I'm still encountering an error when I use RSA_size();a run time error occured when I try

Re: Loading RSA keys from file.

2005-05-10 Thread El hallabi-Kettani Abderrahmane
try pubKey=*PEM_read_RSA_PUBKEY(file, NULL,NULL,NULL); in the place of PEM_read_RSAPublicKey. if it doesn't work try to use the load_key function with a PEM format in apps.c , i didn't remember where you can find it , im not sure . good luck. Abdou,