mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-05 09:40:32 +00:00
Alternative between send/recv transform in SSL record test suite
This commit is contained in:
parent
81e16a34f5
commit
907ab20b38
@ -446,7 +446,7 @@ void ssl_crypt_record_small( int cipher_type, int hash_id,
|
|||||||
{
|
{
|
||||||
mbedtls_ssl_transform *t_dec, *t_enc;
|
mbedtls_ssl_transform *t_dec, *t_enc;
|
||||||
/* Take turns in who's sending and who's receiving. */
|
/* Take turns in who's sending and who's receiving. */
|
||||||
if( offset % 3 == 0 )
|
if( offset % 2 == 0 )
|
||||||
{
|
{
|
||||||
t_dec = &t0;
|
t_dec = &t0;
|
||||||
t_enc = &t1;
|
t_enc = &t1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user