mirror of
				https://github.com/yuzu-emu/mbedtls.git
				synced 2025-11-04 12:15:05 +00:00 
			
		
		
		
	ssl_client: Align line breaking with MBEDTLS_SSL_DEBUG_*
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
		
							parent
							
								
									8216dd3f34
								
							
						
					
					
						commit
						5ee5707521
					
				| 
						 | 
					@ -1367,8 +1367,8 @@ static int ssl_parse_renegotiation_info( mbedtls_ssl_context *ssl,
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        if( len != 1 || buf[0] != 0x00 )
 | 
					        if( len != 1 || buf[0] != 0x00 )
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            MBEDTLS_SSL_DEBUG_MSG(
 | 
					            MBEDTLS_SSL_DEBUG_MSG( 1,
 | 
				
			||||||
                1, ( "non-zero length renegotiation info" ) );
 | 
					                ( "non-zero length renegotiation info" ) );
 | 
				
			||||||
            mbedtls_ssl_send_alert_message(
 | 
					            mbedtls_ssl_send_alert_message(
 | 
				
			||||||
                ssl,
 | 
					                ssl,
 | 
				
			||||||
                MBEDTLS_SSL_ALERT_LEVEL_FATAL,
 | 
					                MBEDTLS_SSL_ALERT_LEVEL_FATAL,
 | 
				
			||||||
| 
						 | 
					@ -3761,8 +3761,8 @@ ecdh_calc_secret:
 | 
				
			||||||
            ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_3 &&
 | 
					            ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_3 &&
 | 
				
			||||||
            ssl_conf_has_static_raw_psk( ssl->conf ) == 0 )
 | 
					            ssl_conf_has_static_raw_psk( ssl->conf ) == 0 )
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            MBEDTLS_SSL_DEBUG_MSG(
 | 
					            MBEDTLS_SSL_DEBUG_MSG( 1,
 | 
				
			||||||
                1, ( "skip PMS generation for opaque PSK" ) );
 | 
					                ( "skip PMS generation for opaque PSK" ) );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
#endif /* MBEDTLS_USE_PSA_CRYPTO &&
 | 
					#endif /* MBEDTLS_USE_PSA_CRYPTO &&
 | 
				
			||||||
| 
						 | 
					@ -3770,8 +3770,8 @@ ecdh_calc_secret:
 | 
				
			||||||
        if( ( ret = mbedtls_ssl_psk_derive_premaster( ssl,
 | 
					        if( ( ret = mbedtls_ssl_psk_derive_premaster( ssl,
 | 
				
			||||||
                        ciphersuite_info->key_exchange ) ) != 0 )
 | 
					                        ciphersuite_info->key_exchange ) ) != 0 )
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            MBEDTLS_SSL_DEBUG_RET(
 | 
					            MBEDTLS_SSL_DEBUG_RET( 1,
 | 
				
			||||||
                1, "mbedtls_ssl_psk_derive_premaster", ret );
 | 
					                "mbedtls_ssl_psk_derive_premaster", ret );
 | 
				
			||||||
            return( ret );
 | 
					            return( ret );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue