mirror of
				https://github.com/yuzu-emu/mbedtls.git
				synced 2025-11-04 13:44:49 +00:00 
			
		
		
		
	Merge branch 'mbedtls-1.3' into mbedtls-1.3-restricted
* mbedtls-1.3: Address PR review comments Backport 1.3:Fix crash when calling `mbedtls_ssl_cache_free` twice
This commit is contained in:
		
						commit
						ba110ba4d2
					
				| 
						 | 
				
			
			@ -71,6 +71,8 @@ Bugfix
 | 
			
		|||
   * Add a check for invalid private parameters in ecdsa_sign.
 | 
			
		||||
     Reported by Yolan Romailler.
 | 
			
		||||
   * Fix word size check in in pk.c to not depend on MBEDTLS_HAVE_INT64.
 | 
			
		||||
   * Fix crash when calling mbedtls_ssl_cache_free() twice. Found by
 | 
			
		||||
     MilenkoMitrovic, #1104
 | 
			
		||||
 | 
			
		||||
Changes
 | 
			
		||||
   * Extend cert_write example program by options to set the CRT version
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -324,6 +324,8 @@ void ssl_cache_free( ssl_cache_context *cache )
 | 
			
		|||
#if defined(POLARSSL_THREADING_C)
 | 
			
		||||
    polarssl_mutex_free( &cache->mutex );
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    cache->chain = NULL;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif /* POLARSSL_SSL_CACHE_C */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue