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:27 +00:00
parent 2c1f5ce4b1
commit a60cc6b4f0

View File

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