Merge pull request #164 from guidosarducci/lede-17.01-siproxd-update
[feed/telephony.git] / libs / libsrtp / patches / 1005_fix_data_alignment.patch
1 --- a/test/srtp_driver.c
2 +++ b/test/srtp_driver.c
3 @@ -1198,7 +1198,6 @@ mips_estimate(int num_trials, int *ignor
4 * These packets were made with the default SRTP policy.
5 */
6
7 -
8 err_status_t
9 srtp_validate() {
10 uint8_t srtp_plaintext_ref[28] = {
11 @@ -1207,14 +1206,14 @@ srtp_validate() {
12 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab,
13 0xab, 0xab, 0xab, 0xab
14 };
15 - uint8_t srtp_plaintext[38] = {
16 + uint8_t srtp_plaintext[38] __attribute__((aligned(4))) = {
17 0x80, 0x0f, 0x12, 0x34, 0xde, 0xca, 0xfb, 0xad,
18 0xca, 0xfe, 0xba, 0xbe, 0xab, 0xab, 0xab, 0xab,
19 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab,
20 0xab, 0xab, 0xab, 0xab, 0x00, 0x00, 0x00, 0x00,
21 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
22 };
23 - uint8_t srtp_ciphertext[38] = {
24 + uint8_t srtp_ciphertext[38] __attribute__((aligned(4))) = {
25 0x80, 0x0f, 0x12, 0x34, 0xde, 0xca, 0xfb, 0xad,
26 0xca, 0xfe, 0xba, 0xbe, 0x4e, 0x55, 0xdc, 0x4c,
27 0xe7, 0x99, 0x78, 0xd8, 0x8c, 0xa4, 0xd2, 0x15,