Alternative between send/recv transform in SSL record test suite

This commit is contained in:
Hanno Becker 2019-03-01 11:21:54 +00:00
parent 81e16a34f5
commit 907ab20b38

View file

@ -446,7 +446,7 @@ void ssl_crypt_record_small( int cipher_type, int hash_id,
{
mbedtls_ssl_transform *t_dec, *t_enc;
/* Take turns in who's sending and who's receiving. */
if( offset % 3 == 0 )
if( offset % 2 == 0 )
{
t_dec = &t0;
t_enc = &t1;