projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b86f319
)
Don't use *from++ in tolower as this is implemented as a macro on some
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 2 Sep 2011 11:28:05 +0000
(11:28 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 2 Sep 2011 11:28:05 +0000
(11:28 +0000)
platforms. Thanks to Shayne Murray <Shayne.Murray@Polycom.com> for
reporting this issue.
crypto/asn1/x_name.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/x_name.c
b/crypto/asn1/x_name.c
index caa4409feb2743e163ae5b981fcef0710683c6da..063bf7c16bfbe0490aa6c9d6aaf7a180be6b8173 100644
(file)
--- 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++;
}
}