* k5unseal.c: gss_krb5int_unseal_token_v3() takes a pointer to
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 13 Apr 2004 20:00:19 +0000 (20:00 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 13 Apr 2004 20:00:19 +0000 (20:00 +0000)
      krb5_context
    * import_sec_context.c: krb5_gss_ser_init() contains a function
      pointer table.  this table must use pointers to functions of
      type KRB5_CALLCONV.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16244 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/import_sec_context.c
src/lib/gssapi/krb5/k5unseal.c

index 40c7c6c09b6d4132bc56c7e5d7ed658c1a450b30..caceb6e40066cf5a8ee2e954131b3f0ee5b8983e 100644 (file)
@@ -1,3 +1,11 @@
+2004-04-13  Jeffrey Altman <jaltman@mit.edu>
+    * k5unseal.c: gss_krb5int_unseal_token_v3() takes a pointer to 
+      krb5_context
+    * import_sec_context.c: krb5_gss_ser_init() contains a function
+      pointer table.  this table must use pointers to functions of
+      type KRB5_CALLCONV.
+
 2004-03-20  Ken Raeburn  <raeburn@mit.edu>
 
        * rel_cred.c (krb5_gss_release_cred): Create and destroy a local
index 19ddb09d3793c246180b2f9ff5a217e42bb648d5..84072f549e735aca5c1ce0c2ec20d2349879603a 100644 (file)
@@ -56,7 +56,7 @@ krb5_error_code
 krb5_gss_ser_init (krb5_context context)
 {
     krb5_error_code code;
-    static krb5_error_code (*const fns[])(krb5_context) = {
+    static krb5_error_code (KRB5_CALLCONV *const fns[])(krb5_context) = {
        krb5_ser_context_init, krb5_ser_auth_context_init,
        krb5_ser_ccache_init, krb5_ser_rcache_init, krb5_ser_keytab_init,
     };
index 714610102b5289bc9dfe703f409048a25e640c45..5bb44fd526543f8004cd6c83562cb05c39b7306c 100644 (file)
@@ -541,7 +541,7 @@ kg_unseal(minor_status, context_handle, input_token_buffer,
                            message_buffer, conf_state, qop_state,
                            toktype);
     else
-       return gss_krb5int_unseal_token_v3(ctx->k5_context, minor_status, ctx,
+       return gss_krb5int_unseal_token_v3(&ctx->k5_context, minor_status, ctx,
                                           ptr, bodysize, message_buffer,
                                           conf_state, qop_state, toktype);
 }