mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
fixes while loop
This commit is contained in:
@@ -2904,7 +2904,7 @@ static int TLSX_PointFormat_Append(PointFormat* list, byte format, void* heap)
|
|||||||
{
|
{
|
||||||
int ret = BAD_FUNC_ARG;
|
int ret = BAD_FUNC_ARG;
|
||||||
|
|
||||||
while (1) {
|
while (list) {
|
||||||
if (list->format == format) {
|
if (list->format == format) {
|
||||||
ret = 0; /* format already in use */
|
ret = 0; /* format already in use */
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user