Inexplicable behaviour could result when the same arguments were passed
in across multiple calls.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
# A dict containing a key for each checksum type to be created in
# the PAC.
checksum_keys = {}
+ else:
+ checksum_keys = dict(checksum_keys)
if include_checksums is None:
# A dict containing a value for each checksum type; True if the
# excluded, or None/not present if the checksum is to be included
# based on its presence in the original PAC.
include_checksums = {}
+ else:
+ include_checksums = dict(include_checksums)
# Check that the values passed in by the caller make sense.