diff options
author | Stefan Metzmacher <metze@samba.org> | 2017-05-12 08:04:33 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-05-21 21:05:08 +0200 |
commit | 2ce23513e8e62dd4b723dd0e06388524a4995920 (patch) | |
tree | 4c725e0dc96d3512d92765675a756daa10f2771e /source3/librpc | |
parent | 688c659de2916a8bb9e3b6d25fa40ab5769be8bb (diff) | |
download | samba-2ce23513e8e62dd4b723dd0e06388524a4995920.tar.gz |
s3:gse: always announce GENSEC_FEATURE_SIGN_PKT_HEADER support.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/crypto/gse.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c index 142627c0011..972bbe023a8 100644 --- a/source3/librpc/crypto/gse.c +++ b/source3/librpc/crypto/gse.c @@ -1106,15 +1106,7 @@ static bool gensec_gse_have_feature(struct gensec_security *gensec_security, return true; } if (feature & GENSEC_FEATURE_SIGN_PKT_HEADER) { - if (gensec_security->want_features & GENSEC_FEATURE_SEAL) { - return true; - } - - if (gensec_security->want_features & GENSEC_FEATURE_SIGN) { - return true; - } - - return false; + return true; } return false; } |