Re: read rsa keys & segmentation fault

2009-07-27 Thread Neil Dugan
Neil Dugan wrote: Dr. Stephen Henson wrote: On Mon, Jul 27, 2009, Neil Dugan wrote: Hi, I have been trying to read the keys generated by "openssl genrsa ..." and "openssl rsa -pubout ..." commands. I successfully (according to the return code) read the private key with if (in = BIO_new_f

Re: read rsa keys & segmentation fault

2009-07-27 Thread Neil Dugan
Neil Dugan wrote: Dr. Stephen Henson wrote: On Mon, Jul 27, 2009, Neil Dugan wrote: Hi, I have been trying to read the keys generated by "openssl genrsa ..." and "openssl rsa -pubout ..." commands. I successfully (according to the return code) read the private key with if (in = BIO_new_f

Re: read rsa keys

2009-07-27 Thread Dr. Stephen Henson
On Mon, Jul 27, 2009, Neil Dugan wrote: > Dr. Stephen Henson wrote: >> On Mon, Jul 27, 2009, Neil Dugan wrote: >>> Hi, >>> >>> I have been trying to read the keys generated by "openssl genrsa ..." and >>> "openssl rsa -pubout ..." commands. >>> >>> I successfully (according to the return code) re

Re: read rsa keys

2009-07-27 Thread Neil Dugan
Dr. Stephen Henson wrote: On Mon, Jul 27, 2009, Neil Dugan wrote: Hi, I have been trying to read the keys generated by "openssl genrsa ..." and "openssl rsa -pubout ..." commands. I successfully (according to the return code) read the private key with if (in = BIO_new_file("rsakey.pem", "r

Re: read rsa keys

2009-07-26 Thread Dr. Stephen Henson
On Mon, Jul 27, 2009, Neil Dugan wrote: > Hi, > > I have been trying to read the keys generated by "openssl genrsa ..." and > "openssl rsa -pubout ..." commands. > > I successfully (according to the return code) read the private key with > > if (in = BIO_new_file("rsakey.pem", "r")) { > int