1 diff -ur libsrtp-2.3.0/test/util.c libsrtp-2.3.0-build/test/util.c
2 --- libsrtp-2.3.0/test/util.c 2019-12-23 10:58:25.000000000 +0100
3 +++ libsrtp-2.3.0-build/test/util.c 2021-10-16 23:09:56.357524543 +0200
7 /* include space for null terminator */
8 -char bit_string[MAX_PRINT_STRING_LEN + 1];
9 +char test_bit_string[MAX_PRINT_STRING_LEN + 1];
11 static inline int hex_char_to_nibble(uint8_t c)
16 for (i = 0; i < length; i += 2) {
17 - bit_string[i] = nibble_to_hex_char(*str >> 4);
18 - bit_string[i + 1] = nibble_to_hex_char(*str++ & 0xF);
19 + test_bit_string[i] = nibble_to_hex_char(*str >> 4);
20 + test_bit_string[i + 1] = nibble_to_hex_char(*str++ & 0xF);
22 - bit_string[i] = 0; /* null terminate string */
24 + test_bit_string[i] = 0; /* null terminate string */
25 + return test_bit_string;
28 static const char b64chars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"