[openssl-dev] Need Help with BIO callback and/or BIO filter chain
W Smith
wilfredsmith at me.com
Fri Feb 20 00:05:12 UTC 2015
Hi,
I've been tasked with wrapping OpenSSL encrypted traffic in another protocol (HTTP).
I'm able to intrude on the data stream with the BIO callback feature (BIO_set_callback), and have also created a BIO filter to play with. My problem is that the BIO I have access to seems to be the BIO pair above encryption. I need to insert plain text/unencrypted data into the stream, which suggests I need to locate the ultimate source/sink.
All I have access to is the SSL context (SSL*) and the BIO*. The actual code is exceptionally convoluted/fragile, so it would be great to put my modifications only in the BIO callback or in a BIO filter.
Any comment on how that can be done or whether I should take another approach would be appreciated.
Thanks in advance,
W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20150220/2f8bf169/attachment-0001.html>
More information about the openssl-dev
mailing list