mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #3582 from douzzer/scan-build-fix-20201218
fix deadstore in ssl.c 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