HI all,

I am generating a key and a cert req to sent to a CA to be signed. Up to know I have 
written the KEY and REQ to a file and then read the PEM-format data into a buffer and 
send it over the network. I would like to do all of it in memory. I created a BIO to 
memory and used PEM_write_bio_X509_REQ() and PEM_write_bio_PrivateKey() to write the 
REQ and KEY. All OK !, but when I use BIO_read() to get the info from the BIO into a 
string I get a memory violation error.

Any suggestions?
[ Using SSLeay0.8.1 on Win95/NT]

Thanks
Leon
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to