smb2_negprot: make use of struct smb311_capabilities.encryption
commita702d781864ea09d3698b312d930ff03bb77f45e
authorStefan Metzmacher <metze@samba.org>
Wed, 10 Mar 2021 15:34:54 +0000 (10 16:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Jul 2021 00:06:31 +0000 (15 00:06 +0000)
tree4f5cb50418836f841a2a23aea94febc3cf4cde9a
parent4a7bd4c0c5672a27c8a931c9f9a5c2e706356845
smb2_negprot: make use of struct smb311_capabilities.encryption

This makes the code more generic and allow the supported ciphers
to be easily added or depend on the configuration later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_negprot.c