Ger Hobbelt wrote:
What may have impact here is that a memory s/s BIO does not act like a
file BIO by default.
To get the same behaviour (at end-of-data == End of File), you should
add the call

    BIO_set_mem_eof_return(pio, 0);

after the line

pio = BIO_new(BIO_s_mem())

to ensure you'll get a regular EOF signal when the memory buffer has
been read in its entirety.

Thank you very much, Ger!!!
It works!

Rgds,
Anton
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to