Alternative between send/recv transform in SSL record test suite
This commit is contained in:
parent
5c1176e53f
commit
b17a1a2068
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue