mirror of
				https://github.com/Mbed-TLS/mbedtls.git
				synced 2025-11-03 20:33:16 +03:00 
			
		
		
		
	Support faulty X509 v1 certificates with extensions
(POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3)
This commit is contained in:
		@@ -660,6 +660,17 @@
 | 
			
		||||
 */
 | 
			
		||||
#define POLARSSL_SSL_TRUNCATED_HMAC
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \def POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3
 | 
			
		||||
 *
 | 
			
		||||
 * If set, the X509 parser will not break-off when parsing an X509 certificate
 | 
			
		||||
 * and encountering an extension in a v1 or v2 certificate.
 | 
			
		||||
 *
 | 
			
		||||
 * Uncomment to prevent an error.
 | 
			
		||||
 *
 | 
			
		||||
#define POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \def POLARSSL_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION
 | 
			
		||||
 *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user