diff options
Diffstat (limited to 'proxy/src/mechglue/gss_plugin.c')
-rw-r--r-- | proxy/src/mechglue/gss_plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy/src/mechglue/gss_plugin.c b/proxy/src/mechglue/gss_plugin.c index 5713320..aac213e 100644 --- a/proxy/src/mechglue/gss_plugin.c +++ b/proxy/src/mechglue/gss_plugin.c @@ -105,7 +105,8 @@ gss_OID_set gss_mech_interposer(gss_OID mech_type) if (!envval) { return NULL; } - if ((strcmp(envval, "YES") != 0) && (strcmp(envval, "1") != 0)) { + + if (!gp_boolean_is_true(envval)) { return NULL; } |