summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Elble <aweits@rit.edu>2016-06-01 12:40:39 -0400
committerRobbie Harwood <rharwood@redhat.com>2016-06-01 13:18:50 -0400
commitb5d1a189da2037d87283eac8998af4bfb1aefa79 (patch)
tree5bb1712d7e1fab7fc16d6f954afbaace21de0658
parent518e1c10bcfc96fd3164b3eec77baadcc32594b6 (diff)
downloadgss-proxy-b5d1a189da2037d87283eac8998af4bfb1aefa79.tar.gz
gss-proxy-b5d1a189da2037d87283eac8998af4bfb1aefa79.tar.xz
gss-proxy-b5d1a189da2037d87283eac8998af4bfb1aefa79.zip
Fix typo in gp_get_export_creds_type()
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> Reviewed-by: Robbie Harwood <rharwood@redhat.com>
-rw-r--r--proxy/src/gp_export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c
index 3b9a23b..256e84a 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))) {