Should be EXP_CREDS_TYPE_OPTION, not EXP_CTX_TYPE_OPTION.
Fixes: e155f81d84f7 ("Add helper to find options in rpc messages") Signed-off-by: Andrew Elble aweits@rit.edu --- proxy/src/gp_export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c index 3b9a23b46b4d..256e84a02d9f 100644 --- a/proxy/src/gp_export.c +++ b/proxy/src/gp_export.c @@ -663,7 +663,7 @@ int gp_get_export_creds_type(struct gssx_call_ctx *ctx) struct gssx_option *val = NULL;
gp_options_find(val, ctx->options, - EXP_CTX_TYPE_OPTION, sizeof(EXP_CTX_TYPE_OPTION)); + EXP_CREDS_TYPE_OPTION, sizeof(EXP_CREDS_TYPE_OPTION)); if (val) { if (gp_option_value_match(val, LINUX_CREDS_V1, sizeof(LINUX_CREDS_V1))) {
Andrew Elble aweits@rit.edu writes:
Should be EXP_CREDS_TYPE_OPTION, not EXP_CTX_TYPE_OPTION.
Good catch! Pushed to master as b5d1a189da2037d87283eac8998af4bfb1aefa79
gss-proxy@lists.fedorahosted.org