* init_sec_context.c (krb5_gss_init_sec_context): Fix pointer
authorTom Yu <tlyu@mit.edu>
Mon, 14 Jun 2004 05:05:38 +0000 (05:05 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 14 Jun 2004 05:05:38 +0000 (05:05 +0000)
assignment when retrieving k5_context from existing
context_handle.

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

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/init_sec_context.c

index 3ebe42c5f6cf4678a1fcae7cc6ab006630814ea6..84fb4560653f5031eb148807d723e91129b739bf 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-14  Tom Yu  <tlyu@mit.edu>
+
+       * init_sec_context.c (krb5_gss_init_sec_context): Fix pointer
+       assignment when retrieving k5_context from existing
+       context_handle.
+
 2004-06-10  Ken Raeburn  <raeburn@mit.edu>
 
        * Makefile.in (gssapi_krb5.h): Add Windows version of generation
index 63a9cb956e03393cdb0470bae3e7901ee1741fc2..966bc8ffd53b363449514e42e1f110644816e0dc 100644 (file)
@@ -850,7 +850,7 @@ krb5_gss_init_sec_context(minor_status, claimant_cred_handle,
           return GSS_S_FAILURE;
        }
    } else {
-       context = ((krb5_gss_ctx_id_rec *) context_handle)->k5_context;
+       context = ((krb5_gss_ctx_id_rec *)*context_handle)->k5_context;
    }
 
    /* set up return values so they can be "freed" successfully */