asn1/hx509: Undo workaround for fixed bug
Now that the ASN.1 compiler properly supports IMPLICIT tagging of named CHOICE types (meaning: treat them as EXPLICIT tags), we can remove one workaround for that.
This commit is contained in:
@@ -2194,8 +2194,7 @@ get_AuthorityKeyIdentifier(hx509_context context,
|
||||
|
||||
memset(&gn, 0, sizeof(gn));
|
||||
gn.element = choice_GeneralName_directoryName;
|
||||
gn.u.directoryName.element =
|
||||
choice_GeneralName_directoryName_rdnSequence;
|
||||
gn.u.directoryName.element = choice_GeneralName_directoryName;
|
||||
gn.u.directoryName.u.rdnSequence = name.u.rdnSequence;
|
||||
|
||||
ret = add_GeneralNames(&gns, &gn);
|
||||
|
Reference in New Issue
Block a user