Merge pull request #6194 from JacobBarthelmeh/string

cast on input of XISALNUM
This commit is contained in:
Sean Parkinson
2023-03-17 08:39:21 +10:00
committed by GitHub

View File

@@ -743,7 +743,7 @@ static char* expandValue(WOLFSSL_CONF *conf, const char* section,
strIdx += 2;
startIdx = strIdx;
}
while (*strIdx && (XISALNUM(*strIdx) || *strIdx == '_'))
while (*strIdx && (XISALNUM((int)(*strIdx)) || *strIdx == '_'))
strIdx++;
endIdx = strIdx;
if (startIdx == endIdx) {