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_req.c | |
parent | 03f8b042772ce5fe04b82e2933535d92ea56dce6 (diff) | |
download | openssl-4098e89cbf1212e2fb796d64725f259ac680cb56.tar.gz |
Fix incorrect DER encoding of SETs and all knock-ons from that.
Diffstat (limited to 'crypto/asn1/x_req.c')
-rw-r--r-- | crypto/asn1/x_req.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/asn1/x_req.c b/crypto/asn1/x_req.c index a0df9982dc..949632c325 100644 --- a/crypto/asn1/x_req.c +++ b/crypto/asn1/x_req.c @@ -87,11 +87,11 @@ unsigned char **pp; */ if (a->req_kludge) { - M_ASN1_I2D_len_IMP_set_opt(a->attributes,i2d_X509_ATTRIBUTE,0); + M_ASN1_I2D_len_IMP_SET_opt(a->attributes,i2d_X509_ATTRIBUTE,0); } else { - M_ASN1_I2D_len_IMP_set(a->attributes, i2d_X509_ATTRIBUTE,0); + M_ASN1_I2D_len_IMP_SET(a->attributes, i2d_X509_ATTRIBUTE,0); } M_ASN1_I2D_seq_total(); @@ -107,11 +107,11 @@ unsigned char **pp; */ if (a->req_kludge) { - M_ASN1_I2D_put_IMP_set_opt(a->attributes,i2d_X509_ATTRIBUTE,0); + M_ASN1_I2D_put_IMP_SET_opt(a->attributes,i2d_X509_ATTRIBUTE,0); } else { - M_ASN1_I2D_put_IMP_set(a->attributes,i2d_X509_ATTRIBUTE,0); + M_ASN1_I2D_put_IMP_SET(a->attributes,i2d_X509_ATTRIBUTE,0); } M_ASN1_I2D_finish(); |