s4:kdc: Make [client,device]_claims_blob const pointers
commit7a4fa2c5643d42bd8caba31e44df94812196fca4
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Sun, 25 Jun 2023 23:10:51 +0000 (26 11:10 +1200)
committerStefan Metzmacher <metze@samba.org>
Mon, 26 Jun 2023 11:10:31 +0000 (26 11:10 +0000)
tree6641007f94c97b7b5b61f339584d041e758b378d
parentebc27cf32a61d543a1fa2c73ca49e28077904e43
s4:kdc: Make [client,device]_claims_blob const pointers

This is so that we can have them point to ‘null_data’ if we so choose.

We can’t assign the result of data_blob_talloc() to a const pointer, so
we go through an intermediary non-const pointer for the
device_claims_blob case.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/kdc/mit_samba.c
source4/kdc/pac-glue.c
source4/kdc/pac-glue.h
source4/kdc/wdc-samba4.c