aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/x_attrib.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1998-12-29 21:43:55 +0000
committerBen Laurie <ben@openssl.org>1998-12-29 21:43:55 +0000
commit4098e89cbf1212e2fb796d64725f259ac680cb56 (patch)
tree274e3c4a5291a941517d50633ed0a3097f6e9fed /crypto/asn1/x_attrib.c
parent03f8b042772ce5fe04b82e2933535d92ea56dce6 (diff)
downloadopenssl-4098e89cbf1212e2fb796d64725f259ac680cb56.tar.gz
Fix incorrect DER encoding of SETs and all knock-ons from that.
Diffstat (limited to 'crypto/asn1/x_attrib.c')
-rw-r--r--crypto/asn1/x_attrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/x_attrib.c b/crypto/asn1/x_attrib.c
index d9faf141d3..68b2648af3 100644
--- 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);