mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-31 03:30:35 -04:00 
			
		
		
		
	Fix overflow error
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
		
							parent
							
								
									8f9d7dbfd0
								
							
						
					
					
						commit
						6eaa41c15e
					
				| @ -296,7 +296,7 @@ int mbedtls_ssl_tls13_evolve_secret( | |||||||
|     int ret = MBEDTLS_ERR_SSL_INTERNAL_ERROR; |     int ret = MBEDTLS_ERR_SSL_INTERNAL_ERROR; | ||||||
|     size_t hlen, ilen; |     size_t hlen, ilen; | ||||||
|     unsigned char tmp_secret[ MBEDTLS_MD_MAX_SIZE ] = { 0 }; |     unsigned char tmp_secret[ MBEDTLS_MD_MAX_SIZE ] = { 0 }; | ||||||
|     unsigned char tmp_input [ MBEDTLS_MD_MAX_SIZE ] = { 0 }; |     unsigned char tmp_input [ MBEDTLS_ECP_MAX_BYTES ] = { 0 }; | ||||||
| 
 | 
 | ||||||
|     const mbedtls_md_info_t *md_info; |     const mbedtls_md_info_t *md_info; | ||||||
|     md_info = mbedtls_md_info_from_type( hash_alg ); |     md_info = mbedtls_md_info_from_type( hash_alg ); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jerry Yu
						Jerry Yu