mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
openssl: don't log raw record headers
- Skip content type SSL3_RT_HEADER in verbose TLS output. This commit prevents bogus and misleading verbose TLS header messages as discussed in #10299. Assisted-by: Peter Wu Closes https://github.com/curl/curl/pull/10299
This commit is contained in:
parent
71cc27f0d6
commit
bde24fac7c
1 changed files with 3 additions and 0 deletions
|
|
@ -2698,6 +2698,9 @@ static void ossl_trace(int direction, int ssl_ver, int content_type,
|
|||
* For TLS 1.3, skip notification of the decrypted inner Content-Type.
|
||||
*/
|
||||
if(ssl_ver
|
||||
#ifdef SSL3_RT_HEADER
|
||||
&& content_type != SSL3_RT_HEADER
|
||||
#endif
|
||||
#ifdef SSL3_RT_INNER_CONTENT_TYPE
|
||||
&& content_type != SSL3_RT_INNER_CONTENT_TYPE
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue