mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Remove code from ssl_tls.c & ssl_msg.c to get disjoint functionality
This commit is the final step in separating the functionality of what was originally ssl_tls.c into both ssl_tls.c and ssl_msg.c. So far, ssl_msg.c has been created as an identical copy of ssl_tls.c. For each block of code in these files, this commit removes it from precisely one of the two files, depending on where the respective functionality belongs. The splitting separates the following functionalities: 1) An implementation of the TLS and DTLS messaging layer, that is, the record layer as well as the DTLS retransmission state machine. This is now contained in ssl_msg.c 2) Handshake parsing and writing functions shared between client and server (functions specific to either client or server are implemented in ssl_cli.c and ssl_srv.c, respectively). This is remains in ssl_tls.c.
This commit is contained in:
		
							parent
							
								
									6e7051af13
								
							
						
					
					
						commit
						af752d4bd6
					
				
							
								
								
									
										7312
									
								
								library/ssl_msg.c
									
									
									
									
									
								
							
							
						
						
									
										7312
									
								
								library/ssl_msg.c
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										5565
									
								
								library/ssl_tls.c
									
									
									
									
									
								
							
							
						
						
									
										5565
									
								
								library/ssl_tls.c
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user