mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	Keep SSL context const when hw accel is disabled
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
		
							parent
							
								
									830540b598
								
							
						
					
					
						commit
						7ae6ed4435
					
				| @ -826,6 +826,9 @@ static int ssl_populate_transform( mbedtls_ssl_transform *transform, | |||||||
|                                    const unsigned char randbytes[64], |                                    const unsigned char randbytes[64], | ||||||
|                                    int minor_ver, |                                    int minor_ver, | ||||||
|                                    unsigned endpoint, |                                    unsigned endpoint, | ||||||
|  | #if !defined(MBEDTLS_SSL_HW_RECORD_ACCEL) | ||||||
|  |                                    const | ||||||
|  | #endif | ||||||
|                                    mbedtls_ssl_context *ssl ) |                                    mbedtls_ssl_context *ssl ) | ||||||
| { | { | ||||||
|     int ret = 0; |     int ret = 0; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Manuel Pégourié-Gonnard
						Manuel Pégourié-Gonnard