libcli/security: remove redundant claim SID size check
commitca572691622ca30097d172fe2843dca34eb3764f
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Mon, 27 Nov 2023 21:46:40 +0000 (28 10:46 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Nov 2023 22:37:31 +0000 (27 22:37 +0000)
tree31015e1226bc7eaa5000821eedfdce220bb39d90
parentfa96bbbe8160fa5bfdbae21baf77103ffeaf1995
libcli/security: remove redundant claim SID size check

blob_string_sid_to_sid() immediately checks the size is within 5-191, so the 1-10000
just gives you a different message in chircumstances you'll never see.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/claims-conversions.c