2006-04-10 kwc@citi.umich.edu
authorneilbrown <neilbrown>
Sun, 9 Apr 2006 23:51:59 +0000 (23:51 +0000)
committerneilbrown <neilbrown>
Sun, 9 Apr 2006 23:51:59 +0000 (23:51 +0000)
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
utils/gssd/context_mit.c
utils/gssd/context_spkm3.c

index f61bf1d..382eba3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
 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
        
        Various memory leaks in the svcgssd context processing are eliminated.
index 868eaa9..37b8b8e 100644 (file)
@@ -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",
index 90dc05c..3566069 100644 (file)
@@ -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;