From: neilbrown Date: Sun, 9 Apr 2006 23:51:59 +0000 (+0000) Subject: 2006-04-10 kwc@citi.umich.edu X-Git-Tag: nfs-utils-1-0-8~5 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=fe3b14834fc863200b6cba08cff348688e37243b;p=nfs-utils.git 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. --- 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;