mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Fix for NULL == NULL test case in test_wolfSSL_EC_get_builtin_curves
.
This commit is contained in:
@@ -28688,6 +28688,7 @@ static void test_wolfSSL_EC_get_builtin_curves(void)
|
|||||||
|
|
||||||
for (i = 0; i < crv_len; i++)
|
for (i = 0; i < crv_len; i++)
|
||||||
{
|
{
|
||||||
|
if (curves[i].comment != NULL)
|
||||||
AssertStrEQ(OBJ_nid2sn(curves[i].nid), curves[i].comment);
|
AssertStrEQ(OBJ_nid2sn(curves[i].nid), curves[i].comment);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user