]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo in cbor
authorAlan T. DeKok <aland@freeradius.org>
Sun, 1 Mar 2026 15:57:23 +0000 (10:57 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 1 Mar 2026 16:36:05 +0000 (11:36 -0500)
src/lib/util/cbor.c

index 1ffe435728634c991d2d0b1e81f9a0e3f576a432..550f2942686b2f1e89ab100a8d8d89443b30da3f 100644 (file)
@@ -208,7 +208,7 @@ ssize_t fr_cbor_encode_value_box(fr_dbuff_t *dbuff, fr_value_box_t *vb)
                goto encode_neg;
 
        case FR_TYPE_INT32:
-               neg = vb->vb_int64;
+               neg = vb->vb_int32;
                goto encode_neg;
 
        case FR_TYPE_INT64: