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:
6ec6cfc
)
Update length if copying MSB set in asn1_string_canon().
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 22 Sep 2006 13:37:15 +0000
(13:37 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 22 Sep 2006 13:37:15 +0000
(13:37 +0000)
crypto/asn1/x_name.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/x_name.c
b/crypto/asn1/x_name.c
index 9b0cf15d4ae32ad9a8eec108051bdc09fd7df061..07137ee91e2e4ddb7f577cf1175fcadcd98ed3a1 100644
(file)
--- a/
crypto/asn1/x_name.c
+++ b/
crypto/asn1/x_name.c
@@
-428,7
+428,10
@@
static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in)
{
/* If MSB set just copy across */
if (*from & 0x80)
+ {
*to++ = *from++;
+ i++;
+ }
/* Collapse multiple spaces */
else if (isspace(*from))
{