mirror of
				https://github.com/yuzu-emu/mbedtls.git
				synced 2025-11-04 13:44:49 +00:00 
			
		
		
		
	Merge remote-tracking branch 'origin/pr/2578' into mbedtls-2.16
* origin/pr/2578: Remove a redundant function call
This commit is contained in:
		
						commit
						da5930654e
					
				| 
						 | 
					@ -2,6 +2,11 @@ mbed TLS ChangeLog (Sorted per branch, date)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
= mbed TLS 2.16.x branch released xxxx-xx-xx
 | 
					= mbed TLS 2.16.x branch released xxxx-xx-xx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Bugfix
 | 
				
			||||||
 | 
					   * Remove redundant line for getting the bitlen of a bignum, since the variable
 | 
				
			||||||
 | 
					     holding the returned value is overwritten a line after.
 | 
				
			||||||
 | 
					     Found by irwir in #2377.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Changes
 | 
					Changes
 | 
				
			||||||
   * Add unit tests for AES-GCM when called through mbedtls_cipher_auth_xxx()
 | 
					   * Add unit tests for AES-GCM when called through mbedtls_cipher_auth_xxx()
 | 
				
			||||||
     from the cipher abstraction layer. Fixes #2198.
 | 
					     from the cipher abstraction layer. Fixes #2198.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2338,8 +2338,6 @@ static int mpi_miller_rabin( const mbedtls_mpi *X, size_t rounds,
 | 
				
			||||||
    MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R, &W ) );
 | 
					    MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R, &W ) );
 | 
				
			||||||
    MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &R, s ) );
 | 
					    MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &R, s ) );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    i = mbedtls_mpi_bitlen( X );
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    for( i = 0; i < rounds; i++ )
 | 
					    for( i = 0; i < rounds; i++ )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        /*
 | 
					        /*
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue