mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Fix guard for test_size_function()
Previous guard was using original naming and did not get updated to the new name. Guard is now using correct definition of TEST_DRIVER_KEY_CONTEXT_SIZE_FUNCTION. Signed-off-by: John Durkop <john.durkop@fermatsoftware.com>
This commit is contained in:
		
							parent
							
								
									badd89f525
								
							
						
					
					
						commit
						ac93e3b43c
					
				@ -273,7 +273,7 @@ static psa_status_t get_expected_key_size( const psa_key_attributes_t *attribute
 | 
			
		||||
 | 
			
		||||
#if defined(PSA_CRYPTO_DRIVER_TEST)
 | 
			
		||||
        case PSA_CRYPTO_TEST_DRIVER_LIFETIME:
 | 
			
		||||
#ifdef TEST_KEY_CONTEXT_SIZE_FUNCTION
 | 
			
		||||
#ifdef TEST_DRIVER_KEY_CONTEXT_SIZE_FUNCTION
 | 
			
		||||
            *expected_size = test_size_function( key_type, key_bits );
 | 
			
		||||
            return( PSA_SUCCESS );
 | 
			
		||||
#else /* TEST_DRIVER_KEY_CONTEXT_SIZE_FUNCTION */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user