summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobbie Harwood <rharwood@redhat.com>2016-09-19 21:41:08 +0000
committerSimo Sorce <simo@redhat.com>2016-09-27 08:49:31 -0400
commiteeaa36e4ea3a0284ce970545e1d808c0a26e10f5 (patch)
tree95e59657e98a03fd37d81c79f89dbbb5afc9e814
parentfca9a5adb76622015bb64d03b038ccdbf4525010 (diff)
downloadgss-proxy-eeaa36e4ea3a0284ce970545e1d808c0a26e10f5.tar.gz
gss-proxy-eeaa36e4ea3a0284ce970545e1d808c0a26e10f5.tar.xz
gss-proxy-eeaa36e4ea3a0284ce970545e1d808c0a26e10f5.zip
Fix type of argument to gppint_get_def_creds()
Some compilers don't like GSS_C_NO_NAME as a generic NULL value. Signed-off-by: Robbie Harwood <rharwood@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--proxy/src/mechglue/gpp_init_sec_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/mechglue/gpp_init_sec_context.c b/proxy/src/mechglue/gpp_init_sec_context.c
index 2327b58..7b10400 100644
--- a/proxy/src/mechglue/gpp_init_sec_context.c
+++ b/proxy/src/mechglue/gpp_init_sec_context.c
@@ -156,7 +156,7 @@ OM_uint32 gssi_init_sec_context(OM_uint32 *minor_status,
maj = gppint_get_def_creds(&min,
GPP_REMOTE_ONLY,
- GSS_C_NO_NAME,
+ NULL,
GSS_C_INITIATE,
&r_creds);
if (maj == GSS_S_COMPLETE) {