diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-09-02 11:28:27 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-09-02 11:28:27 +0000 |
commit | a60cc6b4f01a66417ddbd846cb39ea2fe508b453 (patch) | |
tree | 043fef390b4f190851d8e4efe294ef7a04ae9bd5 /crypto/asn1/x_name.c | |
parent | 2c1f5ce4b17da4b150a262e525b7444c3e2ceee7 (diff) | |
download | openssl-a60cc6b4f01a66417ddbd846cb39ea2fe508b453.tar.gz |
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.
Diffstat (limited to 'crypto/asn1/x_name.c')
-rw-r--r-- | crypto/asn1/x_name.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/x_name.c b/crypto/asn1/x_name.c index caa4409feb..063bf7c16b 100644 --- a/crypto/asn1/x_name.c +++ b/crypto/asn1/x_name.c @@ -464,7 +464,8 @@ static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in) } else { - *to++ = tolower(*from++); + *to++ = tolower(*from); + from++; i++; } } |