diff --git a/src/ssl.c b/src/ssl.c index 9c3bbbcb6..2d4aa72fa 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -41134,7 +41134,7 @@ err: } /* Read the header and footer */ - while ((l = wolfSSL_BIO_read(bio, &pem[i], 1)) == 1) { + while (wolfSSL_BIO_read(bio, &pem[i], 1) == 1) { i++; if (!header) header = XSTRNSTR(pem, "-----BEGIN ", (unsigned int)i);