mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Merge pull request #5222 from paul-elliott-arm/fix_test_suite_ssl
Fix test_suite_ssl compilation errors with GCC11
This commit is contained in:
		
						commit
						161d661d90
					
				
							
								
								
									
										3
									
								
								ChangeLog.d/fix_compilation_ssl_tests.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								ChangeLog.d/fix_compilation_ssl_tests.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
Bugfix
 | 
			
		||||
   * Fix an uninitialized variable warning in test_suite_ssl.function with GCC
 | 
			
		||||
     version 11.
 | 
			
		||||
@ -2236,8 +2236,8 @@ exit:
 | 
			
		||||
void ssl_mock_sanity( )
 | 
			
		||||
{
 | 
			
		||||
    enum { MSGLEN = 105 };
 | 
			
		||||
    unsigned char message[MSGLEN];
 | 
			
		||||
    unsigned char received[MSGLEN];
 | 
			
		||||
    unsigned char message[MSGLEN] = { 0 };
 | 
			
		||||
    unsigned char received[MSGLEN] = { 0 };
 | 
			
		||||
    mbedtls_mock_socket socket;
 | 
			
		||||
 | 
			
		||||
    mbedtls_mock_socket_init( &socket );
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user