forked from wolfSSL/wolfssl
src/ssl.c: fix deadstore in wolfSSL_PEM_X509_X509_CRL_X509_PKEY_read_bio() warned by LLVM11 scan-build.
This commit is contained in:
@@ -41134,7 +41134,7 @@ err:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Read the header and footer */
|
/* 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++;
|
i++;
|
||||||
if (!header)
|
if (!header)
|
||||||
header = XSTRNSTR(pem, "-----BEGIN ", (unsigned int)i);
|
header = XSTRNSTR(pem, "-----BEGIN ", (unsigned int)i);
|
||||||
|
Reference in New Issue
Block a user