DEBUG macro can be enabled to log this :
TLS_DEBUG

It will write the pre master key to standard output.
This is where it is logging : tls1_setup_key_block

Thanks


On Thu, Mar 6, 2014 at 3:32 PM, Prasun Bheri <prasun.bh...@gmail.com> wrote:

> Hi Group,
> for debugging purpose, I would like to log 'pre master secret' of a TLS
> session. Is there an api in OpenSSL library that fetches this key for a
> given session.
>
> Thanks & Regards
> Prasun
>
>

Reply via email to