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 problems
To: openssl-users@openssl.org


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 ) the BIO_read reads perfectly the
data (encoded in base 64)

Could anyone help me?

Thank you very much.
Giovanni
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to