mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 23:45:42 +01:00
Print peer CID from ssl_client2
This commit is contained in:
parent
8be8a95dea
commit
6dde3dd8ec
@ -1781,7 +1781,16 @@ int main( int argc, char *argv[] )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
size_t idx=0;
|
||||||
mbedtls_printf( "Use of Connection ID has been negotiated.\n" );
|
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 */
|
#endif /* MBEDTLS_SSL_CID */
|
||||||
|
Loading…
Reference in New Issue
Block a user