s3:gse: always announce GENSEC_FEATURE_SIGN_PKT_HEADER support.
authorStefan Metzmacher <metze@samba.org>
Fri, 12 May 2017 06:04:33 +0000 (08:04 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 21 May 2017 19:05:08 +0000 (21:05 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/librpc/crypto/gse.c

index 142627c0011019445f110c7cba95ba17ec900ea9..972bbe023a817e004b53d5ffe0ad4c1c953c93d1 100644 (file)
@@ -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;
 }