diff --git a/src/ac/newformat.c b/src/ac/newformat.c index 7c593085..6b7dd8e9 100644 --- a/src/ac/newformat.c +++ b/src/ac/newformat.c @@ -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)