mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
wolfcrypt/test/test.c: fix -Wdeclaration-after-statement in sm3_test().
This commit is contained in:
@@ -5911,12 +5911,13 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t sm3_test(void)
|
||||
byte hashGet[WC_SM3_DIGEST_SIZE];
|
||||
byte hashCopy[WC_SM3_DIGEST_SIZE];
|
||||
wc_test_ret_t ret = 0;
|
||||
WOLFSSL_ENTER("sm3_test");
|
||||
|
||||
testVector a, b, c;
|
||||
testVector test_sm3[3];
|
||||
int times = sizeof(test_sm3) / sizeof(struct testVector), i;
|
||||
|
||||
WOLFSSL_ENTER("sm3_test");
|
||||
|
||||
a.input = "";
|
||||
a.output = "\x1a\xb2\x1d\x83\x55\xcf\xa1\x7f\x8e\x61\x19\x48\x31\xe8\x1a"
|
||||
"\x8f\x22\xbe\xc8\xc7\x28\xfe\xfb\x74\x7e\xd0\x35\xeb\x50\x82"
|
||||
|
Reference in New Issue
Block a user