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 committed by Manuel Pégourié-Gonnard
parent 5c1176e53f
commit b17a1a2068

View file

@ -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;