mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Print peer CID from ssl_server2
This commit is contained in:
		
							parent
							
								
									982182f342
								
							
						
					
					
						commit
						735c716e2a
					
				@ -3324,7 +3324,16 @@ handshake:
 | 
			
		||||
        }
 | 
			
		||||
        else
 | 
			
		||||
        {
 | 
			
		||||
            size_t idx=0;
 | 
			
		||||
            mbedtls_printf( "Use of Connection ID has been negotiated.\n" );
 | 
			
		||||
            mbedtls_printf( "Peer CID (length %u Bytes): ",
 | 
			
		||||
                            (unsigned) peer_cid_len );
 | 
			
		||||
            while( idx < peer_cid_len )
 | 
			
		||||
            {
 | 
			
		||||
                mbedtls_printf( "%#02x ", peer_cid[ idx ] );
 | 
			
		||||
                idx++;
 | 
			
		||||
            }
 | 
			
		||||
            mbedtls_printf( "\n" );
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
#endif /* MBEDTLS_SSL_CID */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user