fixed masking of family bits
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 19 Nov 2011 11:49:37 +0000 (12:49 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 20:20:24 +0000 (21:20 +0100)
src/libpts/tcg/tcg_pts_attr_req_func_comp_evid.c

index f9b70c8..58f8a0c 100644 (file)
@@ -245,7 +245,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
                                                  "Component Evidence Component Functional Name");
                        goto end;
                }
-               qualifier = fam_and_qualifier & !PTS_REQ_FUNC_COMP_FAMILY_MASK;
+               qualifier = fam_and_qualifier & ~PTS_REQ_FUNC_COMP_FAMILY_MASK;
 
                entry = malloc_thing(entry_t);
                entry->flags = flags;