Can anyone point me to a detailed implementation of the SSL_write API. Are there any alternatives to using the SSL_write or SSL_read API.
A broader overview: I am trying to instrument the SSL_write/SSL_read function with a SSL client. That is every time there is a SSL_read/SSL_write call from any application, it will end up using my custom SSL client.
Problem I am facing: If I simply add a ssl client code to an instrumented SSL_write function how do I send or recieve data. I cannot use the SSL_write API as that would create a recursive call to the SSL client code.