mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-13 08:40:26 +01:00
Merge pull request #20165 from fzi-haxel/pr/tests-hashes-sha512-fix
tests/unittests/tests-hashes: fix wrong string length
This commit is contained in:
commit
fd3d92f1ba
@ -341,7 +341,7 @@ static void test_hashes_sha512_hash_sequence_binary(void)
|
||||
|
||||
static void test_hashes_sha512_hash_update_twice(void)
|
||||
{
|
||||
static const char *teststring = "abcdef";
|
||||
static const char teststring[] = "abcdef";
|
||||
|
||||
static uint8_t hash_update_once[SHA512_DIGEST_LENGTH];
|
||||
static uint8_t hash_update_twice[SHA512_DIGEST_LENGTH];
|
||||
|
Loading…
Reference in New Issue
Block a user