Fwd: BIO_read problems

2007-10-31 Thread Giovanni Ferrari
Sorry, i forgot to specify 1 thing. Everything work well if the text to read is a lot, but the reading don't work for example reading 100 base64 characters. -- Forwarded message -- From: Giovanni Ferrari <[EMAIL PROTECTED]> Date: 31-ott-2007 11.37 Subject: BIO_read

BIO_read problems

2007-10-31 Thread Giovanni Ferrari
Goodmorning, i'm using the BIO_read function with a base64 BIO. In particular these are my commands bin=BIO_push(b64,bin) lineLen=BIO_read(bin,line,lineLen) bin=BIO_pop(b64); The problem is that BIO_read always return 0 even if data are present in the file. if i don't use the b64 (base 64 BIO )