From: Alan T. DeKok Date: Fri, 8 Sep 2023 14:09:41 +0000 (-0400) Subject: don't need to check is_raw flag X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f1f201bb46cc754a464ee8475db31badd7aafee;p=thirdparty%2Ffreeradius-server.git don't need to check is_raw flag because we now always set is_raw for unknowns, so it's enough to check the is_unknown flag --- diff --git a/src/lib/eap_aka_sim/decode.c b/src/lib/eap_aka_sim/decode.c index 25f32f9836a..9fd55aa9f85 100644 --- a/src/lib/eap_aka_sim/decode.c +++ b/src/lib/eap_aka_sim/decode.c @@ -715,7 +715,7 @@ static ssize_t sim_decode_pair_value(TALLOC_CTX *ctx, fr_pair_list_t *out, fr_di * For unknown attributes copy the entire value, not skipping * any reserved bytes. */ - if (parent->flags.is_unknown || parent->flags.is_raw) { + if (parent->flags.is_unknown) { fr_pair_value_memdup(vp, p, attr_len, true); vp->vp_length = attr_len; goto done;