From fe3b14834fc863200b6cba08cff348688e37243b Mon Sep 17 00:00:00 2001 From: neilbrown Date: Sun, 9 Apr 2006 23:51:59 +0000 Subject: [PATCH] 2006-04-10 kwc@citi.umich.edu Update calls to gss_export_lucid_sec_context() Change the calls to gss_export_lucid_sec_context() to match the corrected interface definition in libgssapi-0.9. --- ChangeLog | 6 ++++++ utils/gssd/context_mit.c | 2 +- utils/gssd/context_spkm3.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f61bf1d..382eba3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-10 kwc@citi.umich.edu + Update calls to gss_export_lucid_sec_context() + + Change the calls to gss_export_lucid_sec_context() to match the corrected + interface definition in libgssapi-0.9. + 2006-04-10 kwc@citi.umich.edu Plug memory leaks in svcgssd diff --git a/utils/gssd/context_mit.c b/utils/gssd/context_mit.c index 868eaa9..37b8b8e 100644 --- a/utils/gssd/context_mit.c +++ b/utils/gssd/context_mit.c @@ -237,7 +237,7 @@ serialize_krb5_ctx(gss_ctx_id_t ctx, gss_buffer_desc *buf) int retcode = 0; printerr(2, "DEBUG: serialize_krb5_ctx: lucid version!\n"); - maj_stat = gss_export_lucid_sec_context(&min_stat, ctx, + maj_stat = gss_export_lucid_sec_context(&min_stat, &ctx, 1, &return_ctx); if (maj_stat != GSS_S_COMPLETE) { pgsserr("gss_export_lucid_sec_context", diff --git a/utils/gssd/context_spkm3.c b/utils/gssd/context_spkm3.c index 90dc05c..3566069 100644 --- a/utils/gssd/context_spkm3.c +++ b/utils/gssd/context_spkm3.c @@ -149,7 +149,7 @@ serialize_spkm3_ctx(gss_ctx_id_t ctx, gss_buffer_desc *buf) printerr(1, "serialize_spkm3_ctx called\n"); printerr(2, "DEBUG: serialize_spkm3_ctx: lucid version!\n"); - maj_stat = gss_export_lucid_sec_context(&min_stat, ctx, 1, &ret_ctx); + maj_stat = gss_export_lucid_sec_context(&min_stat, &ctx, 1, &ret_ctx); if (maj_stat != GSS_S_COMPLETE) goto out_err; -- 2.39.5