Remove X509_ATTRIBUTE hack.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 25 Mar 2015 15:08:55 +0000 (15:08 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 25 Mar 2015 15:46:54 +0000 (15:46 +0000)
commite20b57270dece66ce2c68aeb5d14dd6d9f3c5d68
tree169ebd0aa0e409d8a23e332f5e8ac29f1b2151dd
parentca3a82c3b364e1e584546f0f3bbb938b0b472580
Remove X509_ATTRIBUTE hack.

The X509_ATTRIBUTE structure includes a hack to tolerate malformed
attributes that encode as the type instead of SET OF type. This form
is never created by OpenSSL and shouldn't be needed any more.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/x509/x509_att.c
crypto/x509/x509_lcl.h
crypto/x509/x_attrib.c