From: Volker Lendecke Date: Fri, 8 Oct 2021 09:38:30 +0000 (+0200) Subject: rpc_server3: Avoid a literal number available as a constant X-Git-Tag: ldb-2.5.0~528 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a767eb55d8bd3109907baff311e221dc340ca6ba;p=thirdparty%2Fsamba.git rpc_server3: Avoid a literal number available as a constant Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/librpc/rpc/dcerpc_helper.c b/librpc/rpc/dcerpc_helper.c index f53523b23ea..cf0deeb2079 100644 --- a/librpc/rpc/dcerpc_helper.c +++ b/librpc/rpc/dcerpc_helper.c @@ -33,7 +33,7 @@ static bool smb3_sid_parse(const struct dom_sid *sid, uint16_t encrypt; uint16_t cipher; - if (sid->sub_auths[0] != 1397571891) { + if (sid->sub_auths[0] != global_sid_Samba_SMB3.sub_auths[0]) { return false; }