hx509: Fix bug found by clang (wrong enum)
We need to revisit a lot of code in lib/hx509/, lib/krb5/, and kdc/ now that the ASN.1 compiler properly handles IMPLICIT tagging. And we should take advantage of automatic open type handling.
This commit is contained in:
@@ -2184,7 +2184,7 @@ get_AuthorityKeyIdentifier(hx509_context context,
|
||||
|
||||
memset(&gn, 0, sizeof(gn));
|
||||
gn.element = choice_GeneralName_directoryName;
|
||||
gn.u.directoryName.element = choice_GeneralName_directoryName;
|
||||
gn.u.directoryName.element = choice_Name_rdnSequence;
|
||||
gn.u.directoryName.u.rdnSequence = name.u.rdnSequence;
|
||||
|
||||
ret = add_GeneralNames(&gns, &gn);
|
||||
|
Reference in New Issue
Block a user