]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
no need to check for NULL
authorAlan T. DeKok <aland@freeradius.org>
Mon, 28 Jul 2025 12:30:58 +0000 (08:30 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 28 Jul 2025 12:30:58 +0000 (08:30 -0400)
src/lib/util/cbor.c

index b6543428c2956fb4e9f4655263f20aa521e9d8dc..c0bbfeb29b59dcd9eb88e1ac668a5048f44e54a2 100644 (file)
@@ -1329,8 +1329,6 @@ ssize_t fr_cbor_decode_value_box(TALLOC_CTX *ctx, fr_value_box_t *vb, fr_dbuff_t
                slen = cbor_decode_integer(&value, info, &work_dbuff);
                if (slen < 0) return_slen;
 
-               fr_assert(type != FR_TYPE_NULL);
-
                /*
                 *      No tag defined for this data type, that's on us.
                 */