Skip to content

Commit

Permalink
Merge pull request #103 from italiangrid/102-voms-proxy-init-21-does-…
Browse files Browse the repository at this point in the history
…not-parse-correctly-the-target-information-extension

Declare fields of AC_TARGET as optional
  • Loading branch information
giacomini authored Dec 1, 2022
2 parents 8e99bb9 + 08e8041 commit 3d0e435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ac/newformat.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ ASN1_SEQUENCE(AC_IETFATTR) = {
IMPLEMENT_ASN1_FUNCTIONS(AC_IETFATTR)

ASN1_SEQUENCE(AC_TARGET) = {
ASN1_EXP(AC_TARGET, name, GENERAL_NAME, 0),
ASN1_EXP(AC_TARGET, group, GENERAL_NAME, 1),
ASN1_EXP(AC_TARGET, cert, AC_IS, 2),
ASN1_EXP_OPT(AC_TARGET, name, GENERAL_NAME, 0),
ASN1_EXP_OPT(AC_TARGET, group, GENERAL_NAME, 1),
ASN1_EXP_OPT(AC_TARGET, cert, AC_IS, 2),
} ASN1_SEQUENCE_END(AC_TARGET)

IMPLEMENT_ASN1_FUNCTIONS(AC_TARGET)
Expand Down

0 comments on commit 3d0e435

Please sign in to comment.