mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Prevent triggering Clang 12 -Wstring-concatenation warning
Wrap multi-line string literals in parentheses to prevent a Clang 12 -Wstring-concatenation warning (activated by -Wall), which caused the build to fail. Fixes https://github.com/ARMmbed/mbedtls/issues/3586 Signed-off-by: Guido Vranken <guidovranken@gmail.com>
This commit is contained in:
@ -516,8 +516,8 @@ void mbedtls_sha512( const unsigned char *input,
|
||||
static const unsigned char sha512_test_buf[3][113] =
|
||||
{
|
||||
{ "abc" },
|
||||
{ "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
|
||||
"hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu" },
|
||||
{ ("abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
|
||||
"hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu") },
|
||||
{ "" }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user