fix a few compile nits
authorLuke Howard <lukeh@padl.com>
Mon, 28 Mar 2011 22:46:01 +0000 (09:46 +1100)
committerLuke Howard <lukeh@padl.com>
Mon, 28 Mar 2011 22:46:01 +0000 (09:46 +1100)
mech_eap/export_sec_context.c

index 91f032f..1426d62 100644 (file)
@@ -143,7 +143,7 @@ gssEapExportSecContext(OM_uint32 *minor,
      */
     if (!CTX_IS_INITIATOR(ctx) && !CTX_IS_ESTABLISHED(ctx) &&
         (ctx->flags & CTX_FLAG_KRB_REAUTH) == 0) {
-        major = gssEapExportPartialContext(minor, ctx, &partialCtx);
+        major = exportPartialRadiusContext(minor, ctx, &partialCtx);
         if (GSS_ERROR(major))
             goto cleanup;
     }
@@ -194,7 +194,7 @@ gssEapExportSecContext(OM_uint32 *minor,
         goto cleanup;
 
     if (!CTX_IS_INITIATOR(ctx) && !CTX_IS_ESTABLISHED(ctx))
-        p = store_buffer(&ctx->conversation, &p, FALSE);
+        p = store_buffer(&ctx->conversation, p, FALSE);
 
     if (partialCtx.value != NULL)
         p = store_buffer(&partialCtx, p, FALSE);