mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-08-04 03:14:13 +02:00
Merge pull request #11037 from Frauschi/fix
Fix for check-source-text false-positive
This commit is contained in:
@@ -1358,8 +1358,8 @@ int test_wc_ed448_check_key_decisions(void)
|
|||||||
|
|
||||||
/* Same construction with a byte inside the walked range cleared, so the
|
/* Same construction with a byte inside the walked range cleared, so the
|
||||||
* loop breaks with ret == 0 instead of running out: closes the byte
|
* loop breaks with ret == 0 instead of running out: closes the byte
|
||||||
* compare's TRUE side and the following (ret == PUBLIC_KEY_E) guard's
|
* compare's TRUE side and the FALSE side of the public-key-error guard
|
||||||
* FALSE side. */
|
* that follows it. */
|
||||||
near_p[29] = 0x00;
|
near_p[29] = 0x00;
|
||||||
ExpectIntEQ(wc_ed448_init(&freshKey), 0);
|
ExpectIntEQ(wc_ed448_init(&freshKey), 0);
|
||||||
ExpectIntEQ(wc_ed448_import_public_ex(near_p, ED448_PUB_KEY_SIZE,
|
ExpectIntEQ(wc_ed448_import_public_ex(near_p, ED448_PUB_KEY_SIZE,
|
||||||
|
|||||||
Reference in New Issue
Block a user