Don't use *from++ in tolower as this is implemented as a macro on some

platforms. Thanks to Shayne Murray <Shayne.Murray@Polycom.com> for
reporting this issue.
This commit is contained in:
Dr. Stephen Henson 2011-09-02 11:28:05 +00:00
parent b86f3197b7
commit 9c44e33230

View File

@ -464,7 +464,8 @@ static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in)
} }
else else
{ {
*to++ = tolower(*from++); *to++ = tolower(*from);
from++;
i++; i++;
} }
} }