Commit 915ecf8e authored by Simon Morlat's avatar Simon Morlat
Browse files

show negociated TLS version and ciphersuite in logs

parent 22431dd8
......@@ -502,7 +502,8 @@ static int tls_process_handshake(belle_sip_channel_t *obj){
belle_sip_tls_channel_t* channel=(belle_sip_tls_channel_t*)obj;
int err=bctbx_ssl_handshake(channel->sslctx);
if (err==0){
belle_sip_message("Channel [%p]: SSL handshake finished.",obj);
belle_sip_message("Channel [%p]: SSL handshake finished, SSL version is [%s], selected ciphersuite is [%s]",obj,
bctbx_ssl_get_version(channel->sslctx), bctbx_ssl_get_ciphersuite(channel->sslctx));
belle_sip_channel_set_ready(obj,(struct sockaddr*)&channel->ss,channel->socklen);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment