mirror of https://github.com/wolfSSL/wolfssl.git
remove carriage return from CONF strings
parent
a2b7b44163
commit
5dcb1ba21f
|
@ -926,7 +926,7 @@ int wolfSSL_NCONF_load(WOLFSSL_CONF *conf, const char *file, long *eline)
|
|||
value = idx;
|
||||
/* Find end of value */
|
||||
idx = maxIdx-1;
|
||||
while (idx >= value && (*idx == ' ' || *idx == '\t'))
|
||||
while (idx >= value && (*idx == ' ' || *idx == '\t' || *idx == '\r'))
|
||||
idx--;
|
||||
valueLen = (int)(idx - value + 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue