mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Guard CID implementations by MBEDTLS_SSL_CID
This commit is contained in:
		
							parent
							
								
									5f925be378
								
							
						
					
					
						commit
						35c36a6760
					
				@ -118,6 +118,7 @@ static void ssl_update_in_pointers( mbedtls_ssl_context *ssl,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_SSL_PROTO_DTLS)
 | 
					#if defined(MBEDTLS_SSL_PROTO_DTLS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if defined(MBEDTLS_SSL_CID)
 | 
				
			||||||
/* Top-level Connection ID API */
 | 
					/* Top-level Connection ID API */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* WARNING: This implementation is a stub and doesn't do anything!
 | 
					/* WARNING: This implementation is a stub and doesn't do anything!
 | 
				
			||||||
@ -150,6 +151,7 @@ int mbedtls_ssl_get_peer_cid( mbedtls_ssl_context *ssl,
 | 
				
			|||||||
    *enabled = MBEDTLS_SSL_CID_DISABLED;
 | 
					    *enabled = MBEDTLS_SSL_CID_DISABLED;
 | 
				
			||||||
    return( 0 );
 | 
					    return( 0 );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					#endif /* MBEDTLS_SSL_CID */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Forward declarations for functions related to message buffering. */
 | 
					/* Forward declarations for functions related to message buffering. */
 | 
				
			||||||
static void ssl_buffering_free( mbedtls_ssl_context *ssl );
 | 
					static void ssl_buffering_free( mbedtls_ssl_context *ssl );
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user