BIO in memory usage....

Tobias Wolf wolf.tobias at
Sun Jun 16 10:11:55 UTC 2019

I`d like to understand how a memory bio can be reseted with the internal
read counter back to zero for further reusage.


I want to try to read first der and then pem

 <> d2i_X509

and then:


Then the second call will fail because the bio has already read some bytes,
when I call each function with a newly created bio it is working fine.

I already tried with BIO_seek, BIO_tell (returns 0?!), BIO_reset.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openssl-users mailing list