Whether or not we set pac_attributes should not depend on pac_canon_name
being NULL or non-NULL.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
krb5_pac_free(context, pac);
return ret;
}
- if (pac_attributes &&
- _krb5_pac_get_attributes_info(context, pac, pac_attributes) != 0)
- *pac_attributes = KRB5_PAC_WAS_GIVEN_IMPLICITLY;
}
+ if (pac_attributes &&
+ _krb5_pac_get_attributes_info(context, pac, pac_attributes) != 0)
+ *pac_attributes = KRB5_PAC_WAS_GIVEN_IMPLICITLY;
/* Discard the PAC if the plugin didn't handle it */
krb5_pac_free(context, pac);