mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	ssl_write_server_key_exchange: don't hard-code max hash size
This commit is contained in:
		
							parent
							
								
									e198df53a0
								
							
						
					
					
						commit
						e1efdf912f
					
				@ -3032,7 +3032,7 @@ curve_matching_done:
 | 
			
		||||
    {
 | 
			
		||||
        size_t signature_len = 0;
 | 
			
		||||
        unsigned int hashlen = 0;
 | 
			
		||||
        unsigned char hash[64];
 | 
			
		||||
        unsigned char hash[MBEDTLS_MD_MAX_SIZE];
 | 
			
		||||
 | 
			
		||||
        /*
 | 
			
		||||
         * 3.1: Choose hash algorithm:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user