mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-04 10:14:00 +01:00
Remove TODO
This commit is contained in:
parent
2e7cd5aa4c
commit
4c6fe12db8
@ -2140,13 +2140,14 @@ int mbedtls_ssl_decrypt_buf( mbedtls_ssl_context *ssl,
|
|||||||
* Match record's CID with incoming CID.
|
* Match record's CID with incoming CID.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* TODO - Uncomment this once CID parsing is in place */
|
/* Uncomment this once CID parsing is in place */
|
||||||
/* if( rec->cid_len != transform->in_cid_len || */
|
/* if( rec->cid_len != transform->in_cid_len || */
|
||||||
/* memcmp( rec->cid, transform->in_cid, rec->cid_len ) != 0 ) */
|
/* memcmp( rec->cid, transform->in_cid, rec->cid_len ) != 0 ) */
|
||||||
/* { */
|
/* { */
|
||||||
/* return( MBEDTLS_ERR_SSL_INVALID_RECORD ); */
|
/* return( MBEDTLS_ERR_SSL_INVALID_RECORD ); */
|
||||||
/* } */
|
/* } */
|
||||||
/* TODO - Remove this once CID parsing is in place */
|
|
||||||
|
/* Remove this once CID parsing is in place */
|
||||||
rec->cid_len = transform->in_cid_len;
|
rec->cid_len = transform->in_cid_len;
|
||||||
memcpy( rec->cid, transform->in_cid, transform->in_cid_len );
|
memcpy( rec->cid, transform->in_cid, transform->in_cid_len );
|
||||||
MBEDTLS_SSL_DEBUG_BUF( 3, "CID", rec->cid, rec->cid_len );
|
MBEDTLS_SSL_DEBUG_BUF( 3, "CID", rec->cid, rec->cid_len );
|
||||||
|
Loading…
Reference in New Issue
Block a user