diff options
author | Ben Laurie <ben@openssl.org> | 1998-12-29 21:43:55 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1998-12-29 21:43:55 +0000 |
commit | 4098e89cbf1212e2fb796d64725f259ac680cb56 (patch) | |
tree | 274e3c4a5291a941517d50633ed0a3097f6e9fed /crypto/asn1/x_attrib.c | |
parent | 03f8b042772ce5fe04b82e2933535d92ea56dce6 (diff) |
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.c | 2 |
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); |