mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	Add fields holding in/out CIDs to SSL record transformation struct
These will be copied from the CID fields in mbedtls_ssl_handshake_params (outgoing CID) and mbedtls_ssl_context (incoming CID) when the transformation is set up at the end of the handshake.
This commit is contained in:
		
							parent
							
								
									a6a4c7623c
								
							
						
					
					
						commit
						1327fa7d14
					
				| @ -609,6 +609,13 @@ struct mbedtls_ssl_transform | |||||||
|     mbedtls_cipher_context_t cipher_ctx_dec;    /*!<  decryption context      */ |     mbedtls_cipher_context_t cipher_ctx_dec;    /*!<  decryption context      */ | ||||||
|     int minor_ver; |     int minor_ver; | ||||||
| 
 | 
 | ||||||
|  | #if defined(MBEDTLS_SSL_CID) | ||||||
|  |     uint8_t in_cid_len; | ||||||
|  |     uint8_t out_cid_len; | ||||||
|  |     unsigned char in_cid [ MBEDTLS_SSL_CID_OUT_LEN_MAX ]; | ||||||
|  |     unsigned char out_cid[ MBEDTLS_SSL_CID_OUT_LEN_MAX ]; | ||||||
|  | #endif /* MBEDTLS_SSL_CID */ | ||||||
|  | 
 | ||||||
|     /*
 |     /*
 | ||||||
|      * Session specific compression layer |      * Session specific compression layer | ||||||
|      */ |      */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Hanno Becker
						Hanno Becker