mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 12:11:27 -05:00 
			
		
		
		
	Fix wrong invocation of parameter validation macro in ECDH module
This commit is contained in:
		
							parent
							
								
									60b65044ac
								
							
						
					
					
						commit
						a7634e8347
					
				@ -238,7 +238,7 @@ static void ecdh_free_internal( mbedtls_ecdh_context_mbed *ctx )
 | 
			
		||||
 */
 | 
			
		||||
void mbedtls_ecdh_enable_restart( mbedtls_ecdh_context *ctx )
 | 
			
		||||
{
 | 
			
		||||
    ECDH_VALIDATE_RET( ctx != NULL );
 | 
			
		||||
    ECDH_VALIDATE( ctx != NULL );
 | 
			
		||||
 | 
			
		||||
    ctx->restart_enabled = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user