projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix incorrect DER encoding of SETs and all knock-ons from that.
[openssl.git]
/
crypto
/
asn1
/
x_attrib.c
diff --git
a/crypto/asn1/x_attrib.c
b/crypto/asn1/x_attrib.c
index d9faf141d3991ee629ffa9278ad1be3b50926db1..68b2648af3c2b6e0fa57e42531998154673e449e 100644
(file)
--- a/
crypto/asn1/x_attrib.c
+++ b/
crypto/asn1/x_attrib.c
@@
-93,7
+93,7
@@
unsigned char **pp;
ret+=i2d_ASN1_OBJECT(a->object,p);
if (a->set)
ret+=i2d_ASN1_SET(a->value.set,p,i2d_ASN1_TYPE,
- V_ASN1_SET,V_ASN1_UNIVERSAL);
+ V_ASN1_SET,V_ASN1_UNIVERSAL
,IS_SET
);
else
ret+=i2d_ASN1_TYPE(a->value.single,p);
if (k++) return(r);