diff --git a/tests/unittests/torture_packet.c b/tests/unittests/torture_packet.c index ce7a1762..51fa2e90 100644 --- a/tests/unittests/torture_packet.c +++ b/tests/unittests/torture_packet.c @@ -12,10 +12,11 @@ #include "socket.c" -uint8_t test_data[]="AThis is test data. Use it to check the validity of packet functions" - "AThis is test data. Use it to check the validity of packet functions" - "AThis is test data. Use it to check the validity of packet functions" - "AThis is test data. Use it to check the validity of packet functions"; +uint8_t test_data[]="\x02" + "This is test data. Use it to check the validity of packet functions." + "This is test data. Use it to check the validity of packet functions." + "This is test data. Use it to check the validity of packet functions." + "This is test data. Use it to check the validity of packet functions."; uint8_t key[]="iekaeshoa7ooCie2shai8shahngee3ONsee3xoishooj0ojei6aeChieth1iraPh"; uint8_t iv[]="eixaxughoomah4ui7Aew3ohxuolaifuu"; uint8_t mac[]="thook2Jai0ahmahyae7ChuuruoPhee8Y"; @@ -57,7 +58,7 @@ torture_packet(const char *cipher, const char *mac_type, size_t encrypted_packet_len; ssh_packet_callback callbacks[]={copy_packet_data}; struct ssh_packet_callbacks_struct cb = { - .start='A', + .start=2, .n_callbacks=1, .callbacks=callbacks, .user=response