mirror of
				https://github.com/Mbed-TLS/mbedtls.git
				synced 2025-10-30 10:45:34 +03:00 
			
		
		
		
	Add test case for allowing setting an always-on removed option
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
		| @@ -112,6 +112,15 @@ class MbedtlsTestConfigChecks(unittest_config_checks.TestConfigChecks): | |||||||
|                       '#undef MBEDTLS_BASE64_C', |                       '#undef MBEDTLS_BASE64_C', | ||||||
|                       error=r'MBEDTLS_BASE64_C .*psa/crypto_config\.h') |                       error=r'MBEDTLS_BASE64_C .*psa/crypto_config\.h') | ||||||
|  |  | ||||||
|  |     def test_crypto_define_MBEDTLS_USE_PSA_CRYPTO(self) -> None: | ||||||
|  |         """It's ok to set MBEDTLS_USE_PSA_CRYPTO (now effectively always on).""" | ||||||
|  |         self.good_case('#define MBEDTLS_USE_PSA_CRYPTO') | ||||||
|  |  | ||||||
|  |     def test_crypto_define_MBEDTLS_USE_PSA_CRYPTO(self) -> None: | ||||||
|  |         """It's ok to set MBEDTLS_USE_PSA_CRYPTO (now effectively always on).""" | ||||||
|  |         self.good_case(None, | ||||||
|  |                        '#define MBEDTLS_USE_PSA_CRYPTO') | ||||||
|  |  | ||||||
|  |  | ||||||
| if __name__ == '__main__': | if __name__ == '__main__': | ||||||
|     unittest.main() |     unittest.main() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user