Preferred way of passing user context void* inside SSL*

Salz, Rich rsalz at
Wed Oct 23 13:21:54 UTC 2019

>    Is there a way for me to piggyback a void* inside the SSL structure so
    that I can access it from within the callback?
Yes, you can use SSL_set_app_data and SSL_get_app_data which are documented in (and due to be merged to master soon)

More information about the openssl-users mailing list