Delete sec context properly in gss_krb5_export_lucid_sec_context
authorGreg Hudson <ghudson@mit.edu>
Mon, 9 May 2011 17:28:07 +0000 (17:28 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 9 May 2011 17:28:07 +0000 (17:28 +0000)
commit779a79f566abdb82a989ef2dfcba43ac656c2da7
treeb17f9b0964c2d2438e757a52fcbe1c43812c965d
parentf0cd743abeb1559bbebb0503b103aab532b94aa3
Delete sec context properly in gss_krb5_export_lucid_sec_context

Since r21690, gss_krb5_export_lucid_sec_context() has been passing a
union context to krb5_gss_delete_sec_context(), causing a crash as the
krb5 routine attempts to interpret a union context structure as a krb5
GSS context.  Call the mechglue gss_delete_sec_context instead.

ticket: 6908
target_version: 1.9.2
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24917 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/krb5_gss_glue.c