Loading lib/vtls/openssl.c +9 −1 Original line number Diff line number Diff line Loading @@ -1974,7 +1974,15 @@ static void ssl_tls_trace(int direction, int ssl_ver, int content_type, } else #endif { if(content_type == SSL3_RT_CHANGE_CIPHER_SPEC) { msg_type = *(char *)buf; msg_name = "Change cipher spec"; } else if(content_type == SSL3_RT_ALERT) { msg_type = (((char *)buf)[0] << 8) + ((char *)buf)[1]; msg_name = SSL_alert_desc_string_long(msg_type); } else { msg_type = *(char *)buf; msg_name = ssl_msg_type(ssl_ver, msg_type); } Loading Loading
lib/vtls/openssl.c +9 −1 Original line number Diff line number Diff line Loading @@ -1974,7 +1974,15 @@ static void ssl_tls_trace(int direction, int ssl_ver, int content_type, } else #endif { if(content_type == SSL3_RT_CHANGE_CIPHER_SPEC) { msg_type = *(char *)buf; msg_name = "Change cipher spec"; } else if(content_type == SSL3_RT_ALERT) { msg_type = (((char *)buf)[0] << 8) + ((char *)buf)[1]; msg_name = SSL_alert_desc_string_long(msg_type); } else { msg_type = *(char *)buf; msg_name = ssl_msg_type(ssl_ver, msg_type); } Loading