> Is there a way in openssl we can extract the protocol(TLS/DTLS ) handshake information, like in clienthello, the protocol version, ciphersuites offered, Random, session id etc. Look at the code in apps/s_client and apps/s_server and see what it prints in various debug modes.