diff options
author | Günther Deschner <gdeschner@redhat.com> | 2013-04-26 14:17:50 +0200 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2013-04-26 14:48:11 +0200 |
commit | 4631c9d7a6399bc442597df12b8b7d274540205b (patch) | |
tree | 24627f5667173cbcd2bce1591e2e12628a0e10ca /proxy/src | |
parent | 770be8b5e2a57a94503d302600ae4229568c9f90 (diff) | |
download | gss-proxy-master-env.tar.gz gss-proxy-master-env.tar.xz gss-proxy-master-env.zip |
Use gp_boolean_is_true from interposer plugin's GSS_USE_PROXY check.master-env
Signed-off-by: Günther Deschner <gdeschner@redhat.com>
Diffstat (limited to 'proxy/src')
-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; } |