BIO in memory usage....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 

e.g.

I want to try to read first der and then pem

 

d2i_X509

 

and then:

 

PEM_read_X509

 

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.

 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux