How might I make OpenSSL use my own 'file system' instead of fopen, fread, etc.?

I need to make OpenSSL work on a system without implementations of fopen, fread, etc. However, I have access to functionality that is essentially the same as fopen, fread, etc. I see BIO_FLAGS_UPLINK but am not finding any description of it that might help me tell if it could be useful. I cannot simply provide my own linkable versions of fopen, fread, etc. as that would collide with other libraries I have to interoperate with. Another possibility might be to somehow take advantage of OPENSSL_NO_FP_API, but I can't easily tell how to accomplish that. A final fallback would be to somehow hack OpenSSL, but I'd rather avoid that.

Thanks.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to