We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9102df3 commit bdea01aCopy full SHA for bdea01a
1 file changed
src/x509.c
@@ -13039,9 +13039,7 @@ static WOLFSSL_X509 *loadX509orX509REQFromPemBio(WOLFSSL_BIO *bp,
13039
if (i < pemSz && pem[i-1] == '\r') {
13040
/* found \r , Windows line ending is \r\n so try to read one
13041
* more byte for \n, ignoring return value */
13042
- if (i < pemSz) {
13043
- (void)wolfSSL_BIO_read(bp, (char *)&pem[i++], 1);
13044
- }
+ (void)wolfSSL_BIO_read(bp, (char *)&pem[i++], 1);
13045
}
13046
13047
break;
0 commit comments