summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-04-03 09:16:07 -0400
committerSimo Sorce <simo@redhat.com>2013-04-03 16:39:11 -0400
commit2f517022d110a2e586735735953dda78051a5b95 (patch)
tree1c5f46fc6d9b387af6c082719719a3b12866ce48
parent970213ad87e9d1c89c2388964336a1fb7106f590 (diff)
downloadgss-proxy-2f517022d110a2e586735735953dda78051a5b95.tar.gz
gss-proxy-2f517022d110a2e586735735953dda78051a5b95.tar.xz
gss-proxy-2f517022d110a2e586735735953dda78051a5b95.zip
Fix copy and paste error found by Coverity
Signed-off-by: Simo Sorce <simo@redhat.com>
-rw-r--r--proxy/src/client/gpm_indicate_mechs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/src/client/gpm_indicate_mechs.c b/proxy/src/client/gpm_indicate_mechs.c
index 3c8a97c..51bb5a3 100644
--- a/proxy/src/client/gpm_indicate_mechs.c
+++ b/proxy/src/client/gpm_indicate_mechs.c
@@ -688,7 +688,7 @@ OM_uint32 gpm_indicate_mechs_by_attrs(OM_uint32 *minor_status,
}
}
/* if excepted skip */
- if (j == desired_mech_attrs->count) {
+ if (j == except_mech_attrs->count) {
continue;
}
}
@@ -707,7 +707,7 @@ OM_uint32 gpm_indicate_mechs_by_attrs(OM_uint32 *minor_status,
}
}
/* if not known skip */
- if (j != desired_mech_attrs->count) {
+ if (j != critical_mech_attrs->count) {
continue;
}
}