repart: Turn condition into assert
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 26 Apr 2023 08:04:08 +0000 (10:04 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 26 Apr 2023 08:04:08 +0000 (10:04 +0200)
commitdeeae10e26aaa0114bc008285c5dfc721716dbc8
tree84634193cd00a44b6555e59e0b894d31c7036e2d
parent22148897cfa5cf06c19cead3d917e00721cb39cc
repart: Turn condition into assert

format_verity_hash() should only be called with VERITY_HASH type
partitions, so assert() if that's not the case.
src/partition/repart.c